From 79a9fffceba94ae445d164c2512d9396e853db5d Mon Sep 17 00:00:00 2001 From: TigerKat Date: Tue, 7 Jul 2020 10:26:27 +0930 Subject: [PATCH] Modified axis conversion to prevent it flipping the X axis. --- export_geo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export_geo.py b/export_geo.py index 401ee32..ca1640d 100644 --- a/export_geo.py +++ b/export_geo.py @@ -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) geo.setName(body_name) - axis_rotation = axis_conversion('-Y', 'Z', 'Z', 'Y') + axis_rotation = axis_conversion('Y', 'Z', '-Z', 'Y') axis_rotation.resize_4x4() print("scale: %s" % (scale, ))