From e1ae5bd45fd0a8c0073039fa3b46835fe20f530e Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 7 Apr 2021 15:58:34 +0200 Subject: LibOverride: Add a dedicated view in the Outliner. This is a minimal, information-only view currently, listing by default all the override data-blocks, with their user-edited override properties. System-generated overrides (like the overrides of pointers to other override data-blocks) can be shown through a filter option. Finally, potential info or warning messages from (auto-)resync propcess are also shown, as an icon + tooltip next to the affected items. Part of D10855. --- source/blender/editors/space_outliner/outliner_tree.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/editors/space_outliner/outliner_tree.c') diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c index 573fb492613..14ab7fd9974 100644 --- a/source/blender/editors/space_outliner/outliner_tree.c +++ b/source/blender/editors/space_outliner/outliner_tree.c @@ -908,6 +908,11 @@ TreeElement *outliner_add_element(SpaceOutliner *space_outliner, BLI_assert(!"Expected this ID type to be ported to new Outliner tree-element design"); } } + else if (ELEM(type, TSE_LIBRARY_OVERRIDE_BASE, TSE_LIBRARY_OVERRIDE)) { + if (!te->type) { + BLI_assert(!"Expected override types to be ported to new Outliner tree-element design"); + } + } else { /* Other cases must be caught above. */ BLI_assert(TSE_IS_REAL_ID(tselem)); -- cgit v1.2.3