diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-03 09:06:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-03 09:34:26 +0300 |
commit | 00b57136e4167ef5a303b1215574bb52a22e9194 (patch) | |
tree | 30e12beb4002f424a1f483e4e2dd5a4a9e029a95 | |
parent | 6f50969406a751ac69d41e792d859d74410ebef6 (diff) |
Revert "Fix spin-gizmo not allowing click events to select vertices"
This reverts commit 0b903755a9908344e9fcb4a33b4f0340abeb9386.
This caused T86030, left-mouse selection override clicking,
which is used for creating a full revolution.
-rw-r--r-- | source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c b/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c index 38d530ba911..d01331bd497 100644 --- a/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c +++ b/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c @@ -468,7 +468,9 @@ void MESH_GGT_spin(struct wmGizmoGroupType *gzgt) gzgt->poll = ED_gizmo_poll_or_unlink_delayed_from_tool; gzgt->setup = gizmo_mesh_spin_init_setup; - gzgt->setup_keymap = WM_gizmogroup_setup_keymap_generic_maybe_drag; + /* This works well with right click selection but overrides left-mouse selection + * when clicking which is needed to create a full 360 degree revolution, see: T86030. */ + // gzgt->setup_keymap = WM_gizmogroup_setup_keymap_generic_maybe_drag; gzgt->refresh = gizmo_mesh_spin_init_refresh; gzgt->message_subscribe = gizmo_mesh_spin_init_message_subscribe; gzgt->draw_prepare = gizmo_mesh_spin_init_draw_prepare; |