diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2019-09-19 17:47:39 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2019-09-19 18:14:27 +0300 |
commit | 2480c9236fd43907b81053616b23c155970a9cca (patch) | |
tree | 2bc7165a052cd39d9cd6d55c775f3b362556057b /source/blender/editors/space_outliner/space_outliner.c | |
parent | fb09d229ddc202b8fb9dd581eafc34ca1485e603 (diff) |
Fix T69610: Outliner doesn't update for text new and unlink
Redraw the outliner when text data-blocks are created and unlinked. This
also fixes a crash when unlinking.
Diffstat (limited to 'source/blender/editors/space_outliner/space_outliner.c')
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index 79880c68120..68eea4f278b 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -229,6 +229,11 @@ static void outliner_main_region_listener(wmWindow *UNUSED(win), ED_region_tag_redraw(ar); } break; + case NC_TEXT: + if (ELEM(wmn->action, NA_ADDED, NA_REMOVED)) { + ED_region_tag_redraw(ar); + } + break; } } |