Paste Code
Paste Blends
Paste Images
Index: source/blender/editors/space_view3d/view3d_edit.c
===================================================================
--- source/blender/editors/space_view3d/view3d_edit.c (revision 40590)
+++ source/blender/editors/space_view3d/view3d_edit.c (working copy)
@@ -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_FINISHED;
+ return OPERATOR_PASS_THROUGH;
}

void VIEW3D_OT_cursor3d(wmOperatorType *ot)
Index: source/blender/windowmanager/intern/wm_event_system.c
===================================================================
--- source/blender/windowmanager/intern/wm_event_system.c (revision 40590)
+++ source/blender/windowmanager/intern/wm_event_system.c (working copy)
@@ -1271,10 +1271,6 @@ static int wm_handler_operator_call(bContext *C, ListBase *handlers, wmEventHand
retval= wm_operator_invoke(C, ot, event, properties, NULL, FALSE);
}

- /* 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);
  1. Index: source/blender/editors/space_view3d/view3d_edit.c
  2. ===================================================================
  3. --- source/blender/editors/space_view3d/view3d_edit.c (revision 40590)
  4. +++ source/blender/editors/space_view3d/view3d_edit.c (working copy)
  5. @@ -3226,7 +3226,7 @@ static int set_3dcursor_invoke(bContext *C, wmOperator *UNUSED(op), wmEvent *eve
  6.         else
  7.                 WM_event_add_notifier(C, NC_SCENE|NA_EDITED, scene);
  8.  
  9. -       return OPERATOR_FINISHED;
  10. +       return OPERATOR_PASS_THROUGH;
  11.  }
  12.  
  13.  void VIEW3D_OT_cursor3d(wmOperatorType *ot)
  14. Index: source/blender/windowmanager/intern/wm_event_system.c
  15. ===================================================================
  16. --- source/blender/windowmanager/intern/wm_event_system.c (revision 40590)
  17. +++ source/blender/windowmanager/intern/wm_event_system.c (working copy)
  18. @@ -1271,10 +1271,6 @@ static int wm_handler_operator_call(bContext *C, ListBase *handlers, wmEventHand
  19.                         retval= wm_operator_invoke(C, ot, event, properties, NULL, FALSE);
  20.         }
  21.  
  22. -       /* Finished and pass through flag as handled */
  23. -       if(retval == (OPERATOR_FINISHED|OPERATOR_PASS_THROUGH))
  24. -               return WM_HANDLER_HANDLED;
  25. -
  26.         /* Modal unhandled, break */
  27.         if(retval == (OPERATOR_PASS_THROUGH|OPERATOR_RUNNING_MODAL))
  28.                 return (WM_HANDLER_BREAK|WM_HANDLER_MODAL);
  29.  
go to heaven