forked from enlightenment/efl
* edje: Fix tween when comming from same state.
SVN revision: 41844
This commit is contained in:
parent
cb29b20245
commit
9abdbe30af
|
@ -105,7 +105,8 @@ _edje_part_description_apply(Edje *ed, Edje_Real_Part *ep, const char *d1, doubl
|
|||
|
||||
epd2 = _edje_part_description_find(ed, ep, d2, v2);
|
||||
|
||||
if (epd2 != NULL && epd1 != epd2)
|
||||
/* There is an animation if both description are different or if description is an image with tweens */
|
||||
if (epd2 != NULL && (epd1 != epd2 || (ep->part->type == EDJE_PART_TYPE_IMAGE && epd2->image.tween_list)))
|
||||
{
|
||||
if (!ep->param2)
|
||||
ep->param2 = eina_mempool_malloc(_edje_real_part_state_mp, sizeof (Edje_Real_Part_State));
|
||||
|
|
Loading…
Reference in New Issue