forked from bartvdbraak/blender
BGE fix: 3DDview not redrawing when exiting BGE
CTX_wm_window_set() was resetting the CTX_wm_area(C), for the redrawing wasn't working. Changing their orders fixes it.
This commit is contained in:
parent
9711c16fde
commit
2b69661805
@ -1753,8 +1753,8 @@ static int game_engine_exec(bContext *C, wmOperator *unused)
|
||||
/* restore context, in case it changed in the meantime, for
|
||||
example by working in another window or closing it */
|
||||
CTX_wm_region_set(C, prevar);
|
||||
CTX_wm_area_set(C, prevsa);
|
||||
CTX_wm_window_set(C, prevwin);
|
||||
CTX_wm_area_set(C, prevsa);
|
||||
RestoreState(C);
|
||||
|
||||
//XXX restore_all_scene_cfra(scene_cfra_store);
|
||||
|
Loading…
Reference in New Issue
Block a user