* evas: fix polygon position on clear.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 9 Dec 2010 10:33:23 +0000 (10:33 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 9 Dec 2010 10:33:23 +0000 (10:33 +0000)
Patch by YUNHAN KIM <yhan.kim@samsung.com>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@55404 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_polygon.c

index bf738a9..dff5cc4 100644 (file)
@@ -230,6 +230,8 @@ evas_object_polygon_points_clear(Evas_Object *obj)
        free(o->points->data);
        o->points = eina_list_remove(o->points, o->points->data);
      }
+   obj->cur.geometry.x = 0;
+   obj->cur.geometry.y = 0;
    obj->cur.geometry.w = 0;
    obj->cur.geometry.h = 0;
 ////   obj->cur.cache.geometry.validity = 0;