can break pre render fn earlier if not visible.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 29 Jan 2011 05:25:25 +0000 (05:25 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 29 Jan 2011 05:25:25 +0000 (05:25 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@56366 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_rectangle.c

index 6e0ab26..50728ff 100644 (file)
@@ -201,8 +201,7 @@ evas_object_rectangle_render_pre(Evas_Object *obj)
    /* if it just became visible or invisible */
    is_v = evas_object_is_visible(obj);
    was_v = evas_object_was_visible(obj);
-/* POST 1.0 -> enable */   
-/*   if (!(is_v | was_v)) goto done;*/
+   if (!(is_v | was_v)) goto done;
    if (is_v != was_v)
      {
        evas_object_render_pre_visible_change(&obj->layer->evas->clip_changes, obj, is_v, was_v);