collada exporter: fixed wrong check for bone roll value

This commit is contained in:
Gaia Clary 2016-05-28 20:52:10 +02:00
parent 362bd116d9
commit 8b2c67c3c3
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}