Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_outliner/space_outliner.cc')
-rw-r--r--source/blender/editors/space_outliner/space_outliner.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.cc b/source/blender/editors/space_outliner/space_outliner.cc
index ed1bd5dbfac..e20bc0a956a 100644
--- a/source/blender/editors/space_outliner/space_outliner.cc
+++ b/source/blender/editors/space_outliner/space_outliner.cc
@@ -256,6 +256,12 @@ static void outliner_main_region_listener(const wmRegionListenerParams *params)
ED_region_tag_redraw(region);
}
break;
+ case NC_NODE:
+ if (ELEM(wmn->action, NA_ADDED, NA_REMOVED) &&
+ ELEM(space_outliner->outlinevis, SO_LIBRARIES, SO_DATA_API)) {
+ ED_region_tag_redraw(region);
+ }
+ break;
}
}