diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-02-23 10:35:05 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-02-23 10:35:05 -0300 |
commit | 51609ffc04290f8bd1ecbd9cf1639c0cc6368fac (patch) | |
tree | 31ecf431f815c277038ff573494eada5a917dbb4 /tools/editor | |
parent | 6c27ac58b822763cff86d33e9d671391a6913bb8 (diff) |
-fixed bug importing skeletons
Diffstat (limited to 'tools/editor')
-rw-r--r-- | tools/editor/io_plugins/editor_import_collada.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/io_plugins/editor_import_collada.cpp b/tools/editor/io_plugins/editor_import_collada.cpp index ffb68dff83..5fce4233e1 100644 --- a/tools/editor/io_plugins/editor_import_collada.cpp +++ b/tools/editor/io_plugins/editor_import_collada.cpp @@ -108,6 +108,7 @@ Error ColladaImport::_populate_skeleton(Skeleton *p_skeleton,Collada::Node *p_no Collada::NodeJoint *joint = static_cast<Collada::NodeJoint*>(p_node); + p_skeleton->add_bone(p_node->name); if (p_parent>=0) p_skeleton->set_bone_parent(r_bone,p_parent); |