[Bf-extensions-cvs] [6cad544c] master: io_coat3D: Fixing scaling issue in vox mode

haikalle noreply at git.blender.org
Tue Jun 18 10:26:45 CEST 2019


Commit: 6cad544cb30364ac14954a9c050d83c6fcbe50dd
Author: haikalle
Date:   Tue Jun 18 11:26:36 2019 +0300
Branches: master
https://developer.blender.org/rBA6cad544cb30364ac14954a9c050d83c6fcbe50dd

io_coat3D: Fixing scaling issue in vox mode

===================================================================

M	io_coat3D/__init__.py

===================================================================

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')



More information about the Bf-extensions-cvs mailing list