1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

-fixed bug importing skeletons

This commit is contained in:
Juan Linietsky
2014-02-23 10:35:05 -03:00
parent 6c27ac58b8
commit 51609ffc04
3 changed files with 566 additions and 564 deletions

View File

@@ -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);