evas_canvas3d: fix mesh being added twice added to scene data
authorOleksandr Shcherbina <o.shcherbina@samsung.com>
Thu, 8 Oct 2015 10:38:10 +0000 (12:38 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 9 Oct 2015 08:00:32 +0000 (10:00 +0200)
Summary: @fix

Reviewers: cedric, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3143

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/evas/canvas/evas_canvas3d_node.c

index 0b930ee..a484928 100644 (file)
@@ -1093,9 +1093,6 @@ evas_canvas3d_node_mesh_collect(Evas_Canvas3D_Node *node, void *data)
         return EINA_FALSE;
      }
 
-   if (pd->type == EVAS_CANVAS3D_NODE_TYPE_MESH)
-     scene_data->mesh_nodes = eina_list_append(scene_data->mesh_nodes, node);
-
    return EINA_TRUE;
 }