[Bf-blender-cvs] [d464a7c] master: fix T50118: Added missing assignment of Bone Roll

Gaia Clary noreply at git.blender.org
Sat Nov 26 18:49:31 CET 2016


Commit: d464a7c4418608baae4946429c16a2925aed4ba7
Author: Gaia Clary
Date:   Sat Nov 26 18:48:50 2016 +0100
Branches: master
https://developer.blender.org/rBd464a7c4418608baae4946429c16a2925aed4ba7

fix T50118: Added missing assignment of Bone Roll

===================================================================

M	source/blender/collada/ArmatureImporter.cpp

===================================================================

diff --git a/source/blender/collada/ArmatureImporter.cpp b/source/blender/collada/ArmatureImporter.cpp
index ae43c0a..17334ca 100644
--- a/source/blender/collada/ArmatureImporter.cpp
+++ b/source/blender/collada/ArmatureImporter.cpp
@@ -169,6 +169,7 @@ int ArmatureImporter::create_bone(SkinInfo *skin, COLLADAFW::Node *node, EditBon
 		float angle;
 		mat4_to_loc_rot_size(loc, rot, size, mat);
 		mat3_to_vec_roll(rot, NULL, &angle);
+		bone->roll = angle;
 	}
 	copy_v3_v3(bone->head, mat[3]);
 	add_v3_v3v3(bone->tail, bone->head, tail); //tail must be non zero




More information about the Bf-blender-cvs mailing list