Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-02-27 09:25:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-27 09:30:51 +0300
commit80ef7fbeb15f388097e2f778d41f7280e77779cf (patch)
treec9667f120a4c63c3da795214de60b83a02b6c98d /release/scripts/startup/bl_operators/view3d.py
parent3f23b5ffd5935b260c79dcf58781d976be814044 (diff)
Transform: refactor orientation naming and usasge
Transform orientation was previously related to constraints, recent changes meant it was used even when not constraining to an axis. Now transform orientation is separate from axis constraints.
Diffstat (limited to 'release/scripts/startup/bl_operators/view3d.py')
-rw-r--r--release/scripts/startup/bl_operators/view3d.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_operators/view3d.py b/release/scripts/startup/bl_operators/view3d.py
index 5ae112e57e4..2dd4b7457ed 100644
--- a/release/scripts/startup/bl_operators/view3d.py
+++ b/release/scripts/startup/bl_operators/view3d.py
@@ -45,7 +45,7 @@ class VIEW3D_OT_edit_mesh_extrude_individual_move(Operator):
bpy.ops.mesh.extrude_region_move(
'INVOKE_REGION_WIN',
TRANSFORM_OT_translate={
- "constraint_orientation": 'NORMAL',
+ "orient_type": 'NORMAL',
"constraint_axis": (False, False, True),
}
)
@@ -92,7 +92,7 @@ class VIEW3D_OT_edit_mesh_extrude_move(Operator):
bpy.ops.mesh.extrude_region_move(
'INVOKE_REGION_WIN',
TRANSFORM_OT_translate={
- "constraint_orientation": 'NORMAL',
+ "orient_type": 'NORMAL',
"constraint_axis": (False, False, True),
},
)
@@ -103,7 +103,7 @@ class VIEW3D_OT_edit_mesh_extrude_move(Operator):
TRANSFORM_OT_translate={
# Don't set the constraint axis since users will expect MMB
# to use the user setting, see: T61637
- # "constraint_orientation": 'NORMAL',
+ # "orient_type": 'NORMAL',
# Not a popular choice, too restrictive for retopo.
# "constraint_axis": (True, True, False)})
"constraint_axis": (False, False, False),