evas: do not add unclipped smart members to the master clip
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 15 Dec 2015 22:16:26 +0000 (17:16 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 15 Dec 2015 22:24:52 +0000 (17:24 -0500)
this is probably a pretty unlikely scenario, but messing with smart
members in this way is probably not a great idea

@fix

src/lib/evas/canvas/evas_render.c

index 1645ebc..830516e 100644 (file)
@@ -2527,7 +2527,7 @@ evas_render_updates_internal(Evas *eo_e,
              if (!eina_rectangles_intersect(&clip_rect, &obj_rect))
                continue;
 
-             if (!evas_object_clip_get(obj->object))
+             if ((!evas_object_clip_get(obj->object)) && (!obj->smart.parent))
                {
                   /* clip this object to the master clip */
                   evas_object_clip_set(obj->object, e->framespace.clip);