Fix updating mesh when reimporting

(cherry picked from commit 9d5e1228ea)
This commit is contained in:
volzhs 2018-05-22 19:58:28 +09:00 committed by Rémi Verschelde
parent 367bec2010
commit 12458ebe8c
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ Error ColladaImport::_create_scene(Collada::Node *p_node, Spatial *p_parent) {
NodeMap nm; NodeMap nm;
nm.node = node; nm.node = node;
node_map[p_node->id] = nm; node_map[p_node->id] = nm;
node_name_map[p_node->name] = p_node->id; node_name_map[node->get_name()] = p_node->id;
Transform xf = p_node->default_transform; Transform xf = p_node->default_transform;
xf = collada.fix_transform(xf) * p_node->post_transform; xf = collada.fix_transform(xf) * p_node->post_transform;