Fix T78112: VSE Sequencer/Preview crash after fullscreen

The region refresh callback wasn't called, which in the VSE ensures valid
region sizes and removes handlers of invisible regions.
This commit is contained in:
Julian Eisel 2020-06-24 15:15:22 +02:00
parent 669befdfbe
commit 23b5e10dbd
Notes: blender-bot 2023-02-14 05:36:11 +01:00
Referenced by issue #97575, Regression: going in and out of full screen causes the compositor to re-calculate unnecessarily.
Referenced by issue #78112, Video Sequence Editor Sequencer/Preview Crash
1 changed files with 1 additions and 0 deletions

View File

@ -1331,6 +1331,7 @@ ScrArea *ED_screen_state_toggle(bContext *C, wmWindow *win, ScrArea *area, const
oldscreen->animtimer = NULL;
ED_screen_change(C, screen);
ED_area_tag_refresh(fullsa);
BKE_workspace_layout_remove(CTX_data_main(C), workspace, layout_old);