diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-18 06:24:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-18 06:44:41 +0300 |
commit | e16e17486baa82d5f15fec911ecc648ee093f628 (patch) | |
tree | 56fc0b2f0e29c2fd8578851b3cb438e3eab81d4e /release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | |
parent | 67f3f31f00bf6513eebfece55cd6ec0a6ebf74d7 (diff) |
Gizmo: use spin widgets by default
- Now the spin tool has a persistent gizmo.
- Uses scene orientation, with additional view orientation.
- Uses the cursor center, ignoring the pivot since the
selection center is rarely useful.
- Disable most of the redo gizmo's for now since they overlap,
only allow adjusting the angle.
Note: mixing new action with adjusting previous is confusing,
we'll want to have design guidelines regarding this.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_toolsystem_toolbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index 037d8e9ca8f..5a7ec76c999 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -619,7 +619,7 @@ class _defs_edit_mesh: return dict( text="Spin", icon="ops.mesh.spin", - widget=None, + widget="MESH_GGT_spin", keymap=( ("mesh.spin", dict(), dict(type='EVT_TWEAK_A', value='ANY')), @@ -636,7 +636,7 @@ class _defs_edit_mesh: return dict( text="Spin (Duplicate)", icon="ops.mesh.spin.duplicate", - widget=None, + widget="MESH_GGT_spin", keymap=( ("mesh.spin", dict(dupli=True), dict(type='EVT_TWEAK_A', value='ANY')), |