diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-16 16:24:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-16 16:24:48 +0400 |
commit | 336ecf7f54301af01dcea62db6f84e8827be19ef (patch) | |
tree | 816176e4f53ef6455108791eb02a92aca5e4a8e0 /object_print3d_utils/export.py | |
parent | b80e15cba6cd5b6309e01ec76ef9f909ef34e3c5 (diff) |
invert scale
Diffstat (limited to 'object_print3d_utils/export.py')
-rw-r--r-- | object_print3d_utils/export.py | 2 |
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() |