summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_scene3d.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_scene3d.c')
-rw-r--r--src/lib/evas/canvas/efl_canvas_scene3d.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_scene3d.c b/src/lib/evas/canvas/efl_canvas_scene3d.c
index 3dff897..513a68b 100644
--- a/src/lib/evas/canvas/efl_canvas_scene3d.c
+++ b/src/lib/evas/canvas/efl_canvas_scene3d.c
@@ -9,12 +9,14 @@ _efl_canvas_scene3d_scene3d_set(Eo *eo_obj, void *pd EINA_UNUSED, Evas_Canvas3D_
9 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); 9 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
10 Evas_Image_Data *o = efl_data_scope_get(eo_obj, EFL_CANVAS_IMAGE_INTERNAL_CLASS); 10 Evas_Image_Data *o = efl_data_scope_get(eo_obj, EFL_CANVAS_IMAGE_INTERNAL_CLASS);
11 Evas_Image_Load_Opts lo; 11 Evas_Image_Load_Opts lo;
12 int load_error;
12 13
13 if (o->cur->scene == scene) return; 14 if (o->cur->scene == scene) return;
14 15
15 evas_object_async_block(obj); 16 evas_object_async_block(obj);
16 _evas_image_init_set(NULL, NULL, eo_obj, obj, o, &lo); 17 _evas_image_init_set(NULL, NULL, eo_obj, obj, o, &lo);
17 o->engine_data = ENFN->image_mmap(ENC, o->cur->f, o->cur->key, &o->load_error, &lo); 18 o->engine_data = ENFN->image_mmap(ENC, o->cur->f, o->cur->key, &load_error, &lo);
19 o->load_error = _evas_load_error_to_efl_gfx_image_load_error(load_error);
18 _evas_image_done_set(eo_obj, obj, o); 20 _evas_image_done_set(eo_obj, obj, o);
19 21
20 if (scene) _evas_image_3d_set(eo_obj, scene); 22 if (scene) _evas_image_3d_set(eo_obj, scene);