diff options
Diffstat (limited to 'mesh_auto_mirror.py')
-rw-r--r-- | mesh_auto_mirror.py | 4 |
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") |