Fix T66530: set_stereo_3d (pageflip) exists Blender
Note: Although this fixes the issue (as in, it prevents a crash) BKE_reports are not working because of CTX_wm_window_set(). Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5210
This commit is contained in:
parent
fde88ad9d2
commit
d3e1782abc
Notes:
blender-bot
2023-05-31 04:43:10 +02:00
Referenced by issue #66530, set_stereo_3d exists Blender
|
@ -714,8 +714,14 @@ void wm_window_ghostwindows_ensure(wmWindowManager *wm)
|
|||
|
||||
wm_window_ghostwindow_add(wm, "Blender", win);
|
||||
}
|
||||
/* happens after fileread */
|
||||
wm_window_ensure_eventstate(win);
|
||||
|
||||
if (win->ghostwin != NULL) {
|
||||
/* If we have no ghostwin this is a buggy window that should be removed.
|
||||
* However we still need to initialize it correctly so the screen doesn't hang. */
|
||||
|
||||
/* happens after fileread */
|
||||
wm_window_ensure_eventstate(win);
|
||||
}
|
||||
|
||||
/* add keymap handlers (1 handler for all keys in map!) */
|
||||
keymap = WM_keymap_ensure(wm->defaultconf, "Window", 0, 0);
|
||||
|
|
Loading…
Reference in New Issue