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:
Diffstat (limited to 'object_print3d_utils/operators.py')
-rw-r--r--object_print3d_utils/operators.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/object_print3d_utils/operators.py b/object_print3d_utils/operators.py
index ebc1a730..cfd2cec4 100644
--- a/object_print3d_utils/operators.py
+++ b/object_print3d_utils/operators.py
@@ -645,10 +645,13 @@ class MESH_OT_Print3D_Select_Report(Operator):
def _scale(scale, report=None, report_suffix=""):
if scale != 1.0:
- bpy.ops.transform.resize(value=(scale,) * 3,
- mirror=False, proportional='DISABLED',
- snap=False,
- texture_space=False)
+ bpy.ops.transform.resize(
+ value=(scale,) * 3,
+ mirror=False,
+ use_proportional_edit=False,
+ snap=False,
+ texture_space=False,
+ )
if report is not None:
report({'INFO'}, "Scaled by %s%s" % (clean_float("%.6f" % scale), report_suffix))