Mark as changed when smooth scale flag changes.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 28 Feb 2009 20:09:03 +0000 (20:09 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 28 Feb 2009 20:09:03 +0000 (20:09 +0000)
This allows us to change to non-smooth on animations and then back to
smooth after animation is done.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39300 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_image.c

index 7f0b4cf..8bec011 100644 (file)
@@ -1269,6 +1269,8 @@ evas_object_image_smooth_scale_set(Evas_Object *obj, Evas_Bool smooth_scale)
        ((!smooth_scale) && (!o->cur.smooth_scale)))
      return;
    o->cur.smooth_scale = smooth_scale;
+   o->changed = 1;
+   evas_object_change(obj);
 }
 
 /**