Sculpt: use ESC key in addition to RMB to cancel eyedropper
This is more in line to other eyedropper usages throughout blender. Affected operators: - Sample Dyntopo detail - Extract Face Set (as reported in T82615) ref T82615 Maniphest Tasks: T82615 Differential Revision: https://developer.blender.org/D9531
This commit is contained in:
parent
beb1460f8e
commit
b4b4532ce0
Notes:
blender-bot
2023-06-12 00:52:52 +02:00
Referenced by issue #82615, in sculpt mode is impossible to cancel the -Extract Face Set- operation
|
@ -408,7 +408,7 @@ static int face_set_extract_modal(bContext *C, wmOperator *op, const wmEvent *ev
|
|||
return geometry_extract_apply(C, op, geometry_extract_tag_face_set, ¶ms);
|
||||
}
|
||||
break;
|
||||
|
||||
case EVT_ESCKEY:
|
||||
case RIGHTMOUSE: {
|
||||
WM_cursor_modal_restore(CTX_wm_window(C));
|
||||
ED_workspace_status_text(C, NULL);
|
||||
|
|
|
@ -329,7 +329,7 @@ static int sculpt_sample_detail_size_modal(bContext *C, wmOperator *op, const wm
|
|||
return OPERATOR_FINISHED;
|
||||
}
|
||||
break;
|
||||
|
||||
case EVT_ESCKEY:
|
||||
case RIGHTMOUSE: {
|
||||
WM_cursor_modal_restore(CTX_wm_window(C));
|
||||
ED_workspace_status_text(C, NULL);
|
||||
|
|
Loading…
Reference in New Issue