cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=74161be6f8568e6b18661a876c32738a191e529f

commit 74161be6f8568e6b18661a876c32738a191e529f
Author: perepelits.m <perepelit...@samsung.com>
Date:   Fri Mar 4 15:58:29 2016 -0800

    Evas: fix camera node adding to scene
    
    Summary: While making new changes after rewieving D3710 we met this bug 
again, removing eo_unref is the best way to fix it because _eo_ref_replace from 
D3021 makes nothing special.
    
    Reviewers: cedric, raster, Hermet
    
    Subscribers: jpeg, artem.popov
    
    Differential Revision: https://phab.enlightenment.org/D3745
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/evas/canvas/evas_canvas3d_scene.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/evas/canvas/evas_canvas3d_scene.c 
b/src/lib/evas/canvas/evas_canvas3d_scene.c
index 1b9ea30..cb7ffc3 100644
--- a/src/lib/evas/canvas/evas_canvas3d_scene.c
+++ b/src/lib/evas/canvas/evas_canvas3d_scene.c
@@ -119,14 +119,12 @@ _evas_canvas3d_scene_camera_node_set(Eo *obj, 
Evas_Canvas3D_Scene_Data *pd, Evas
    if (pd->camera_node)
      {
         evas_canvas3d_node_scene_camera_del(pd->camera_node, obj);
-        eo_unref(pd->camera_node);
      }
 
    pd->camera_node = node;
 
    if (node)
      {
-        eo_unref(node);
         evas_canvas3d_node_scene_camera_add(node, obj);
      }
 

-- 


Reply via email to