io_coat3D: Fixing scaling issue in vox mode

This commit is contained in:
Kalle-Samuli Riihikoski 2019-06-18 11:26:36 +03:00
parent c43da5fa59
commit 6cad544cb3
1 changed files with 6 additions and 0 deletions

View File

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