Summary:
@fix
CID:1339784
Reviewers: raster, cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D3348
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
int stride;
Evas_Canvas3D_Mesh_Frame *f = evas_canvas3d_mesh_frame_find(pd, frame);
+
+ if (!f)
+ {
+ ERR("Not existing mesh frame %d %s", __LINE__, __FILE__);
+ return;
+ }
+
if (f->vertices[EVAS_CANVAS3D_VERTEX_ATTRIB_POSITION].stride != 0)
stride = f->vertices[EVAS_CANVAS3D_VERTEX_ATTRIB_POSITION].stride / sizeof(float);
else