diff options
author | Bastien Montagne <bastien@blender.org> | 2021-02-26 19:32:02 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-03-26 14:45:47 +0300 |
commit | 7cdf7e992e3494c390ea23d1d9e35f149ea323fc (patch) | |
tree | a526d59adc90195bb621017866600d0aa50c198a /source/blender/editors/space_outliner/outliner_tree.c | |
parent | 4425bacec4d639fdc53f4cb8a6817326622b27b7 (diff) |
Initial raw liboverride-dedicated view in the Outliner.override-outliner-view
Disclaimer: this is merely a copy of the Libraries (aka blend file)
view, with some minor tweaking.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_tree.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tree.c | 5 |
1 files changed, 5 insertions, 0 deletions
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)); |