diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2016-05-28 21:52:10 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2016-06-08 22:45:40 +0300 |
commit | 99663c7e678a2497425038e04cf33b0cc9bb4f87 (patch) | |
tree | 2573dda6de6e4c05ff091113af1d2582e2b532ec | |
parent | 32ff8637128b3455d51b318184fbe07e0595348c (diff) |
collada exporter: fixed wrong check for bone roll value
-rw-r--r-- | source/blender/collada/ArmatureExporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/ArmatureExporter.cpp b/source/blender/collada/ArmatureExporter.cpp index c8d92f4d329..4f5cf83f5ca 100644 --- a/source/blender/collada/ArmatureExporter.cpp +++ b/source/blender/collada/ArmatureExporter.cpp @@ -186,7 +186,7 @@ void ArmatureExporter::add_bone_node(Bone *bone, Object *ob_arm, Scene *sce, bArmature *armature = (bArmature *)ob_arm->data; EditBone *ebone = bc_get_edit_bone(armature, bone->name); - if (ebone && ebone->roll > 0) + if (ebone && ebone->roll != 0) { node.addExtraTechniqueParameter("blender", "roll", ebone->roll); } |