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:
authorGaia Clary <gaia.clary@machinimatrix.org>2016-05-28 21:52:10 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2016-05-28 21:52:32 +0300
commit8b2c67c3c35793367cf421979a7b425b348d2802 (patch)
treefa7af2c615bb74b280c95b1a15fb2cbd7b46bdf9 /source/blender/collada/ArmatureExporter.cpp
parent362bd116d95e2a0a41a35f5676b16ebc99030141 (diff)
collada exporter: fixed wrong check for bone roll value
Diffstat (limited to 'source/blender/collada/ArmatureExporter.cpp')
-rw-r--r--source/blender/collada/ArmatureExporter.cpp2
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);
}