collada exporter: fixed wrong check for bone roll value
This commit is contained in:
parent
362bd116d9
commit
8b2c67c3c3
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue