mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
fix to collada import crash
This commit is contained in:
parent
5e03874571
commit
b09a8bd32f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user