reverting part of rev40594.
[blender.git] / source / blender / windowmanager / intern / wm_event_system.c
index 596fa35d5973ca496fc8363163cfa643176d5028..cafee6b49caf521e50b471368894b7c360957d54 100644 (file)
@@ -1278,6 +1278,10 @@ static int wm_handler_operator_call(bContext *C, ListBase *handlers, wmEventHand
        }
        /* Finished and pass through flag as handled */
 
+       /* Finished and pass through flag as handled */
+       if(retval == (OPERATOR_FINISHED|OPERATOR_PASS_THROUGH))
+               return WM_HANDLER_HANDLED;
+
        /* Modal unhandled, break */
        if(retval == (OPERATOR_PASS_THROUGH|OPERATOR_RUNNING_MODAL))
                return (WM_HANDLER_BREAK|WM_HANDLER_MODAL);