diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-25 17:39:51 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-25 17:39:51 +0400 |
commit | 6268434eee6e7a7b3728a38614566f9a9e27673a (patch) | |
tree | 9dfa5e5cf73c108ff93f2328210a945e6be52d2f /source/blender | |
parent | bd59bae6510c65c14956fefdcf3bedda4edf10d4 (diff) |
Fix part of #35859: lib linking errors were not shown when opening files through open recent.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 2 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index 0bef59cfc55..d94cfaa5aee 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -1661,7 +1661,7 @@ static int wm_handler_fileselect_call(bContext *C, ListBase *handlers, wmEventHa if (win_prev == NULL) CTX_wm_window_set(C, CTX_wm_manager(C)->windows.first); - handler->op->reports->printlevel = RPT_WARNING; + BKE_report_print_level_set(handler->op->reports, RPT_WARNING); uiPupMenuReports(C, handler->op->reports); /* XXX - copied from 'wm_operator_finished()' */ diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index e71be6052d0..d782725bdcb 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -2045,6 +2045,9 @@ static int wm_open_mainfile_exec(bContext *C, wmOperator *op) } WM_file_read(C, path, op->reports); + /* for file open also popup for warnings, not only errors */ + BKE_report_print_level_set(op->reports, RPT_WARNING); + return OPERATOR_FINISHED; } |