reverting part of rev40594.
Pardoon, looks like i've forgot to revert current work before commiting actual patch i wanted to send to the svn.
This commit is contained in:
@@ -3226,7 +3226,7 @@ static int set_3dcursor_invoke(bContext *C, wmOperator *UNUSED(op), wmEvent *eve
|
||||
else
|
||||
WM_event_add_notifier(C, NC_SCENE|NA_EDITED, scene);
|
||||
|
||||
return OPERATOR_PASS_THROUGH;
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
||||
void VIEW3D_OT_cursor3d(wmOperatorType *ot)
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user