Merge branch 'blender-v2.82-release'
This commit is contained in:
commit
d4daecb223
|
@ -275,6 +275,11 @@ void WM_check(bContext *C)
|
|||
return;
|
||||
}
|
||||
|
||||
/* Run before loading the keyconfig. */
|
||||
if (wm->message_bus == NULL) {
|
||||
wm->message_bus = WM_msgbus_create();
|
||||
}
|
||||
|
||||
if (!G.background) {
|
||||
/* case: fileread */
|
||||
if ((wm->initialized & WM_WINDOW_IS_INITIALIZED) == 0) {
|
||||
|
@ -286,10 +291,6 @@ void WM_check(bContext *C)
|
|||
wm_window_ghostwindows_ensure(wm);
|
||||
}
|
||||
|
||||
if (wm->message_bus == NULL) {
|
||||
wm->message_bus = WM_msgbus_create();
|
||||
}
|
||||
|
||||
/* case: fileread */
|
||||
/* note: this runs in bg mode to set the screen context cb */
|
||||
if ((wm->initialized & WM_WINDOW_IS_INITIALIZED) == 0) {
|
||||
|
|
Loading…
Reference in New Issue