Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-04-16 16:24:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-16 16:24:48 +0400
commit336ecf7f54301af01dcea62db6f84e8827be19ef (patch)
tree816176e4f53ef6455108791eb02a92aca5e4a8e0 /object_print3d_utils/export.py
parentb80e15cba6cd5b6309e01ec76ef9f909ef34e3c5 (diff)
invert scale
Diffstat (limited to 'object_print3d_utils/export.py')
-rw-r--r--object_print3d_utils/export.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/object_print3d_utils/export.py b/object_print3d_utils/export.py
index d0eeca3f..889b386d 100644
--- a/object_print3d_utils/export.py
+++ b/object_print3d_utils/export.py
@@ -58,7 +58,7 @@ def write_mesh(context, info, report_cb):
obj = obj_base.object
export_format = print_3d.export_format
- global_scale = unit.scale_length if (unit.system != 'NONE' and print_3d.use_apply_scale) else 1.0
+ global_scale = (1.0 / unit.scale_length) if (unit.system != 'NONE' and print_3d.use_apply_scale) else 1.0
path_mode = 'COPY' if print_3d.use_export_texture else 'AUTO'
context_override = context.copy()