From b09a8bd32fa2aca8162a0fa2d4a113c7189d5971 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 23 Apr 2015 22:42:52 -0300 Subject: [PATCH] fix to collada import crash --- tools/editor/io_plugins/editor_import_collada.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/editor/io_plugins/editor_import_collada.cpp b/tools/editor/io_plugins/editor_import_collada.cpp index d7e883ef62a..adc5b2827fa 100644 --- a/tools/editor/io_plugins/editor_import_collada.cpp +++ b/tools/editor/io_plugins/editor_import_collada.cpp @@ -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 {