From 2480c9236fd43907b81053616b23c155970a9cca Mon Sep 17 00:00:00 2001 From: Nathan Craddock Date: Thu, 19 Sep 2019 08:47:39 -0600 Subject: 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. --- source/blender/editors/space_outliner/space_outliner.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/editors/space_outliner') 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; } } -- cgit v1.2.3