diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-02 13:59:14 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-02 14:04:39 +0300 |
commit | ccf4001458847eb871a5d3cc5b871a62ca22ab4f (patch) | |
tree | 7c2fc6fe25898c1599e8447bff30c4d182d4dd7b /source/blender/windowmanager/intern/wm_operators.c | |
parent | 102644cb8cbb8b21e55643cebe2ed364885023a6 (diff) |
Fix modal item open/close in the outliner since removing tweak events
Correct check for left-mouse event which assumed the alternative was
a tweak event.
Also remove print added by accident.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 6e0bf911555..7e680af4537 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -913,7 +913,6 @@ int WM_generic_select_modal(bContext *C, wmOperator *op, const wmEvent *event) OPERATOR_RETVAL_CHECK(ret_value); op->customdata = POINTER_FROM_INT((int)event->type); if (ret_value & OPERATOR_RUNNING_MODAL) { - printf("Starting modal: %s\n", op->idname); WM_event_add_modal_handler(C, op); } return ret_value | OPERATOR_PASS_THROUGH; |