Commit: 8a4ba0e85df149cd0ad0cd0e46a88bb5b9a5e49c Author: Gaia Clary Date: Fri Apr 5 22:18:25 2019 +0200 Branches: collada https://developer.blender.org/rB8a4ba0e85df149cd0ad0cd0e46a88bb5b9a5e49c
cleanup: collada removed unnecessary check for root bone =================================================================== M source/blender/collada/ArmatureExporter.cpp =================================================================== diff --git a/source/blender/collada/ArmatureExporter.cpp b/source/blender/collada/ArmatureExporter.cpp index 15cbd3d879c..6a63edf25ec 100644 --- a/source/blender/collada/ArmatureExporter.cpp +++ b/source/blender/collada/ArmatureExporter.cpp @@ -64,10 +64,7 @@ void ArmatureExporter::add_armature_bones( } for (Bone *bone = (Bone *)armature->bonebase.first; bone; bone = bone->next) { - // start from root bones - if (!bone->parent) { - add_bone_node(bone, ob_arm, se, child_objects); - } + add_bone_node(bone, ob_arm, se, child_objects); } if (!is_edited) { _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs