diff options
Diffstat (limited to '')
-rw-r--r-- | src/extantz/extantz.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index 11f1d4e..b7de3a7 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c | |||
@@ -170,7 +170,7 @@ static void _draw_gl(Evas_Object *obj) | |||
170 | #endif | 170 | #endif |
171 | 171 | ||
172 | _animate_scene(ourGlobals); | 172 | _animate_scene(ourGlobals); |
173 | animateCamera(ourGlobals); | 173 | animateCamera(ourGlobals->scene); |
174 | 174 | ||
175 | #if USE_IRR | 175 | #if USE_IRR |
176 | drawIrr_end(ourGlobals); | 176 | drawIrr_end(ourGlobals); |
@@ -487,6 +487,8 @@ EAPI_MAIN int elm_main(int argc, char **argv) | |||
487 | init_evas_gl(&ourGlobals); | 487 | init_evas_gl(&ourGlobals); |
488 | 488 | ||
489 | Evas_3D_Demo_add(&ourGlobals); | 489 | Evas_3D_Demo_add(&ourGlobals); |
490 | // TODO - Just a temporary hack so Irrlicht and Evas_3D can share the camera move. | ||
491 | ourGlobals.gld.move = ourGlobals.scene->move; | ||
490 | evas_object_data_set(elm_image_object_get(ourGlobals.scene->image), "glob", &ourGlobals); | 492 | evas_object_data_set(elm_image_object_get(ourGlobals.scene->image), "glob", &ourGlobals); |
491 | evas_object_image_pixels_get_callback_set(elm_image_object_get(ourGlobals.scene->image), on_pixels, &ourGlobals); | 493 | evas_object_image_pixels_get_callback_set(elm_image_object_get(ourGlobals.scene->image), on_pixels, &ourGlobals); |
492 | 494 | ||