fix to collada import crash

This commit is contained in:
Juan Linietsky 2015-04-23 22:42:52 -03:00
parent 5e03874571
commit b09a8bd32f

View file

@ -1616,6 +1616,7 @@ Error ColladaImport::_create_resources(Collada::Node *p_node) {
if (collada.state.morph_controller_data_map.has(meshid)) {
//it's a morph!!
morph = &collada.state.morph_controller_data_map[meshid];
ngsource=meshid;
meshid=morph->mesh;
} else {