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-02-28 04:28:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-28 04:28:54 +0300
commitaaf97075b4ee65eeb22f9832695cb716f1319ab3 (patch)
treebc1f7a144ce144ffaa126906b024fb199b7e9768 /mesh_auto_mirror.py
parent0bbba588f7a5fcdf22107e82308b04462e696f3a (diff)
Update for rename: constraint_orientation -> orient_type
Diffstat (limited to 'mesh_auto_mirror.py')
-rw-r--r--mesh_auto_mirror.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh_auto_mirror.py b/mesh_auto_mirror.py
index bffa9478..c17838d5 100644
--- a/mesh_auto_mirror.py
+++ b/mesh_auto_mirror.py
@@ -98,13 +98,13 @@ class AutoMirror(Operator):
bpy.ops.transform.translate(
value=(X * orientation, Y * orientation, Z * orientation),
constraint_axis=((X == 1), (Y == 1), (Z == 1)),
- constraint_orientation='LOCAL'
+ orient_type='LOCAL'
)
v2 = Vector((loc[0], loc[1], loc[2]))
bpy.ops.transform.translate(
value=(-X * orientation, -Y * orientation, -Z * orientation),
constraint_axis=((X == 1), (Y == 1), (Z == 1)),
- constraint_orientation='LOCAL'
+ orient_type='LOCAL'
)
bpy.ops.object.mode_set(mode="EDIT")