Modified axis conversion to prevent it flipping the X axis.

master
TigerKat 4 years ago
parent cce9cbefcc
commit 79a9fffceb

@ -110,7 +110,7 @@ def save(operator, context, scale = 1.0, filepath = "", global_matrix = None, us
body_name = bpy.path.display_name_from_filepath(filepath) body_name = bpy.path.display_name_from_filepath(filepath)
geo.setName(body_name) geo.setName(body_name)
axis_rotation = axis_conversion('-Y', 'Z', 'Z', 'Y') axis_rotation = axis_conversion('Y', 'Z', '-Z', 'Y')
axis_rotation.resize_4x4() axis_rotation.resize_4x4()
print("scale: %s" % (scale, )) print("scale: %s" % (scale, ))

Loading…
Cancel
Save