From: cedric Date: Thu, 9 Dec 2010 10:33:23 +0000 (+0000) Subject: * evas: fix polygon position on clear. X-Git-Tag: 2.0_alpha~240^2~1332 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4de141b11d3960436b0f89d0d2b142b7f56262fa;p=framework%2Fuifw%2Fevas.git * evas: fix polygon position on clear. Patch by YUNHAN KIM git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@55404 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/canvas/evas_object_polygon.c b/src/lib/canvas/evas_object_polygon.c index bf738a9..dff5cc4 100644 --- a/src/lib/canvas/evas_object_polygon.c +++ b/src/lib/canvas/evas_object_polygon.c @@ -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;