Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-18 08:21:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-18 08:59:28 +0300
commit333cdbb41025db012239e0549a439515880aad9b (patch)
tree7f34b68d8d412bd69073eabee1ed01e2ded0437f /source/blender/collada/ArmatureImporter.cpp
parent93e876c4f89909ff1e399d7f038aac134367b120 (diff)
Cleanup: comment blocks
Diffstat (limited to 'source/blender/collada/ArmatureImporter.cpp')
-rw-r--r--source/blender/collada/ArmatureImporter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/collada/ArmatureImporter.cpp b/source/blender/collada/ArmatureImporter.cpp
index 315ae91e643..70ee3274d14 100644
--- a/source/blender/collada/ArmatureImporter.cpp
+++ b/source/blender/collada/ArmatureImporter.cpp
@@ -613,10 +613,8 @@ Object *ArmatureImporter::create_armature_bones(Main *bmain, SkinInfo &skin)
// bone_direction_row = 1; // TODO: don't default to Y but use asset and based on it decide on default row
// create bones
- /*
- TODO:
- check if bones have already been created for a given joint
- */
+ /* TODO:
+ * check if bones have already been created for a given joint */
std::vector<COLLADAFW::Node *>::iterator ri;
for (ri = root_joints.begin(); ri != root_joints.end(); ri++) {
@@ -686,9 +684,11 @@ void ArmatureImporter::set_pose(Object *ob_arm,
mul_m4_m4m4(pchan->pose_mat, invObmat, mat);
}
- //float angle = 0.0f;
- ///*mat4_to_axis_angle(ax, &angle, mat);
- //pchan->bone->roll = angle;*/
+#if 0
+ float angle = 0.0f;
+ mat4_to_axis_angle(ax, &angle, mat);
+ pchan->bone->roll = angle;
+#endif
COLLADAFW::NodePointerArray &children = root_node->getChildNodes();
for (unsigned int i = 0; i < children.getCount(); i++) {