forked from bartvdbraak/blender
Fix #28504: lib linking errors were not shown when opening a file from
the splash screen.
This commit is contained in:
parent
919bd181b7
commit
d91587752c
@ -437,9 +437,18 @@ static void wm_operator_print(bContext *C, wmOperator *op)
|
||||
|
||||
static void wm_operator_reports(bContext *C, wmOperator *op, int retval, int popup)
|
||||
{
|
||||
if(popup)
|
||||
if(op->reports->list.first)
|
||||
if(popup) {
|
||||
if(op->reports->list.first) {
|
||||
/* FIXME, temp setting window, see other call to uiPupMenuReports for why */
|
||||
wmWindow *win_prev= CTX_wm_window(C);
|
||||
if(win_prev==NULL)
|
||||
CTX_wm_window_set(C, CTX_wm_manager(C)->windows.first);
|
||||
|
||||
uiPupMenuReports(C, op->reports);
|
||||
|
||||
CTX_wm_window_set(C, win_prev);
|
||||
}
|
||||
}
|
||||
|
||||
if(retval & OPERATOR_FINISHED) {
|
||||
if(G.f & G_DEBUG)
|
||||
|
Loading…
Reference in New Issue
Block a user