diff options
author | haikalle <haikalle@gmail.com> | 2019-06-18 11:26:36 +0300 |
---|---|---|
committer | haikalle <haikalle@gmail.com> | 2019-06-18 11:26:36 +0300 |
commit | 6cad544cb30364ac14954a9c050d83c6fcbe50dd (patch) | |
tree | 987b0fb2bee3e6ca099b7f8baa93b4e6f2b1567e /io_coat3D | |
parent | c43da5fa598d590f7d386e1580125ead12cf1678 (diff) |
io_coat3D: Fixing scaling issue in vox mode
Diffstat (limited to 'io_coat3D')
-rw-r--r-- | io_coat3D/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py index eb40de57..24e26328 100644 --- a/io_coat3D/__init__.py +++ b/io_coat3D/__init__.py @@ -704,6 +704,12 @@ class SCENE_OT_export(bpy.types.Operator): coat3D.bring_retopo = True coat3D.bring_retopo_path = checkname bpy.ops.export_scene.fbx(filepath=checkname, use_selection=True, use_mesh_modifiers=coat3D.exportmod, axis_forward='-Z', axis_up='Y') + + elif (coat3D.type == 'vox'): + coat3D.bring_retopo = False + bpy.ops.export_scene.fbx(filepath=coa.applink_address, global_scale=1, use_selection=True, + use_mesh_modifiers=coat3D.exportmod, axis_forward='-Z', axis_up='Y') + else: coat3D.bring_retopo = False bpy.ops.export_scene.fbx(filepath=coa.applink_address,global_scale = 0.01, use_selection=True, use_mesh_modifiers=coat3D.exportmod, axis_forward='-Z', axis_up='Y') |