diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-15 00:58:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-15 00:58:07 +0300 |
commit | fdcd9103cc12c2722e02f6c2591915e26af12ce5 (patch) | |
tree | bd0de9a1cfa7c8dec6d658e8cd5601ab3f2d4d0b /release | |
parent | 89299f66207bd278e37e9e55ade87e8989b0de3d (diff) |
WM: rename manipulator to gizmo in the toolbar
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index 527dfdc3c6f..dbab7c7e037 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -133,9 +133,9 @@ class _defs_transform: text="Grab", # cursor='SCROLL_XY', icon="ops.transform.translate", - widget="TRANSFORM_WGT_manipulator", + widget="TRANSFORM_WGT_gizmo", operator="transform.translate", - # TODO, implement as optional fallback manipulator + # TODO, implement as optional fallback gizmo # keymap=( # ("transform.translate", dict(release_confirm=True), dict(type='EVT_TWEAK_A', value='ANY')), # ), @@ -147,9 +147,9 @@ class _defs_transform: text="Rotate", # cursor='SCROLL_XY', icon="ops.transform.rotate", - widget="TRANSFORM_WGT_manipulator", + widget="TRANSFORM_WGT_gizmo", operator="transform.rotate", - # TODO, implement as optional fallback manipulator + # TODO, implement as optional fallback gizmo # keymap=( # ("transform.rotate", dict(release_confirm=True), dict(type='EVT_TWEAK_A', value='ANY')), # ), @@ -161,9 +161,9 @@ class _defs_transform: text="Scale", # cursor='SCROLL_XY', icon="ops.transform.resize", - widget="TRANSFORM_WGT_manipulator", + widget="TRANSFORM_WGT_gizmo", operator="transform.resize", - # TODO, implement as optional fallback manipulator + # TODO, implement as optional fallback gizmo # keymap=( # ("transform.resize", dict(release_confirm=True), dict(type='EVT_TWEAK_A', value='ANY')), # ), @@ -182,13 +182,13 @@ class _defs_transform: def transform(): def draw_settings(context, layout, tool): tool_settings = context.tool_settings - layout.prop(tool_settings, "use_manipulator_mode") + layout.prop(tool_settings, "use_gizmo") return dict( text="Transform", icon="ops.transform.transform", - widget="TRANSFORM_WGT_manipulator", - # No keymap default action, only for manipulators! + widget="TRANSFORM_WGT_gizmo", + # No keymap default action, only for gizmo! draw_settings=draw_settings, ) @@ -320,7 +320,7 @@ class _defs_edit_mesh: widget=None, keymap=( ("view3d.cursor3d", dict(), dict(type='ACTIONMOUSE', value='CLICK')), - ("mesh.primitive_cube_add_manipulator", dict(), dict(type='EVT_TWEAK_A', value='ANY')), + ("mesh.primitive_cube_add_gizmo", dict(), dict(type='EVT_TWEAK_A', value='ANY')), ), ) |