diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-04-01 17:54:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-04-01 17:54:53 +0400 |
commit | df827a64006b76c445bb170ee263dc0f9188dfa9 (patch) | |
tree | 1e3351ef9b05e03a48f55f74c190dc870a00e55c /source/blender | |
parent | aff0551e5bb955f30fceb1eaf2116eb0a44fce2e (diff) |
move operator reports into a global list so they display in the console.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index 6aea2c0c096..da1f71f49da 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -378,6 +378,9 @@ static void wm_operator_finished(bContext *C, wmOperator *op, int repeat) op->customdata= NULL; + /* add reports to the global list, otherwise they are not seen */ + addlisttolist(&CTX_wm_reports(C)->list, &op->reports->list); + /* we don't want to do undo pushes for operators that are being called from operators that already do an undo push. usually this will happen for python operators that call C operators */ |