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>2019-05-06 07:54:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-06 08:04:04 +0300
commite452b07c647c9ec9e0f67d5d6a009293b0b9ef88 (patch)
tree4efc9840550517cf5c3ed7985d830e5736aab4ab /object_print3d_utils
parent5535f596ba3cd1ac6e76ad09f15a0013b658887a (diff)
Update addons for changes to proportional edit mode
Diffstat (limited to 'object_print3d_utils')
-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))