evas: Evas_3D - fix evas_3d_scene_pick when trying to get empty texcoords from mesh.
authorOleksandr Shcherbina <o.shcherbina@samsung.com>
Thu, 5 Feb 2015 14:17:43 +0000 (15:17 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 5 Feb 2015 14:37:15 +0000 (15:37 +0100)
commit0c4de0235c0a0ff14896c6e1ba49c1664f908999
treea92f93a0dcce6034ca62e88010fcd453e43dc88b
parentc5c70e54fc9ffd155fbc35d179ec00861bcfe9db
evas: Evas_3D - fix evas_3d_scene_pick when trying to get empty texcoords from mesh.

Summary:
During filling evas pick public data by API evas_3d_scene_pick
segfault can occur if mesh was created without texcoords.
See functions - _pick_data_mesh_add, _pick_data_texcoord_update

@fix

Reviewers: cedric, Hermet, raster

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/evas/canvas/evas_3d_scene.c