Evas render: Fix render artifacts with a mapped object
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 6 Jan 2016 13:08:58 +0000 (22:08 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 7 Jan 2016 02:12:51 +0000 (11:12 +0900)
Problem visible in Enventor "map" example, with the SW engine.

Fixes T2979

src/lib/evas/canvas/evas_render.c

index bfa350d..c9bc480 100644 (file)
@@ -615,7 +615,7 @@ _evas_render_phase1_object_process(Evas_Public_Data *e, Evas_Object *eo_obj,
           }
         return clean_them;
      }
-   else if (hmap) // && !can_map) // FIXME
+   else if (hmap && !can_map)
      {
         RD(level, "  had map - restack objs\n");
         //        OBJ_ARRAY_PUSH(restack_objects, obj);
@@ -632,7 +632,7 @@ _evas_render_phase1_object_process(Evas_Public_Data *e, Evas_Object *eo_obj,
                   *redraw_all = 1;
                }
           }
-        if (!(map && !can_map) && obj->cur->clipper)
+        if (!map && obj->cur->clipper)
           {
              // Fix some bad clipping issues after an evas_map animation finishes
              evas_object_change(obj->cur->clipper->object, obj->cur->clipper);