evas canvas3d: bounding box does not change the position according object
authorIvan Furs <i.furs@samsung.com>
Mon, 27 Jul 2015 23:40:04 +0000 (01:40 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 28 Jul 2015 01:05:37 +0000 (03:05 +0200)
Summary:
This fix need for synchronous rotation mesh and aabb of  "sonic" in example "evas-3d-aabb.c".
@fix

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: sri.hebbar, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/examples/evas/evas-3d-aabb.c

index 7b91089..c9aa61b 100644 (file)
@@ -257,7 +257,7 @@ main(void)
    evas_object_focus_set(image, EINA_TRUE);
    eo_do(image, evas_obj_image_scene_set(scene));
 
-   evas_object_event_callback_add(image, EVAS_CALLBACK_KEY_DOWN, _on_key_down, root_node);
+   evas_object_event_callback_add(image, EVAS_CALLBACK_KEY_DOWN, _on_key_down, mesh_node);
 
    ecore_timer_add(0.01, _animate_scene, mesh_node);