diff options
author | Julian Eisel <julian@blender.org> | 2020-06-19 20:55:17 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-06-19 21:14:04 +0300 |
commit | 0ded6f55259bbfcaf48d521b0fcefa082179b349 (patch) | |
tree | 40c48e6e55d95f2388bf4b94f2671b36158752e6 /source/blender/editors | |
parent | 254f164b27a416177e3bf47bd81498a2da929e43 (diff) |
Fix: Crash when closing window while Outliner shows screens
Steps to reproduce were:
* From factory settings, change Outliner Display Mode to "Blender File"
* Open "Screens" item, make sure all listed screens are visible
* Open Preference window, close it
* Mouse hover the outliner -> crash
Fix is to force an Outliner tree rebuild when closing screens.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index 05f48eb5679..540e2405758 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -215,7 +215,7 @@ static void outliner_main_region_listener(wmWindow *UNUSED(win), } break; case NC_SCREEN: - if (ELEM(wmn->data, ND_LAYER)) { + if (ELEM(wmn->data, ND_LAYOUTDELETE, ND_LAYER)) { ED_region_tag_redraw(region); } break; |