* evas: fix polygon position on clear.

Patch by YUNHAN KIM <yhan.kim@samsung.com>


SVN revision: 55404
This commit is contained in:
Cedric BAIL 2010-12-09 10:33:23 +00:00
parent ef5c356153
commit 30099cb45f
1 changed files with 2 additions and 0 deletions

View 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;