diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2016-11-26 20:48:50 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2016-11-26 20:48:50 +0300 |
commit | d464a7c4418608baae4946429c16a2925aed4ba7 (patch) | |
tree | d1b0a6adbe85306b27b5ae513c9a505509ca7567 /source/blender/collada | |
parent | 265e5def76cc08f633e8851236af1ee903d87ff0 (diff) |
fix T50118: Added missing assignment of Bone Roll
Diffstat (limited to 'source/blender/collada')
-rw-r--r-- | source/blender/collada/ArmatureImporter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/collada/ArmatureImporter.cpp b/source/blender/collada/ArmatureImporter.cpp index ae43c0a69d2..17334ca326c 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 |