diff options
author | Julian Eisel <julian@blender.org> | 2022-03-24 19:25:24 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-03-24 19:25:24 +0300 |
commit | dcb520a7af74fd600e3ed7db19751a2f64c3e981 (patch) | |
tree | 367d21cce1b7432a352d66d8641da4d14695a146 /source/blender/blenloader | |
parent | 1ff853a3f065ec51e78f3af6f4e71540783de501 (diff) |
Outliner: Remove list of library overrides from general display modes
There is a dedicated Library Override display mode now, and showing
these elsewhere just adds noise and makes the code problematic to
maintain (since the same element hierarchy will be used in two entirely
different contexts). The corresponding filter settings are removed too.
Part of T95802.
Reviewed by: Bastien Montagne
Differential Revision: https://developer.blender.org/D14411
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_300.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_300.c b/source/blender/blenloader/intern/versioning_300.c index 19b7e1e4f3c..51b5cab1f7c 100644 --- a/source/blender/blenloader/intern/versioning_300.c +++ b/source/blender/blenloader/intern/versioning_300.c @@ -2446,5 +2446,16 @@ void blo_do_versions_300(FileData *fd, Library *UNUSED(lib), Main *bmain) scene->toolsettings->curves_sculpt->curve_length = 0.3f; } } + + for (bScreen *screen = bmain->screens.first; screen; screen = screen->id.next) { + LISTBASE_FOREACH (ScrArea *, area, &screen->areabase) { + LISTBASE_FOREACH (SpaceLink *, sl, &area->spacedata) { + if (sl->spacetype == SPACE_OUTLINER) { + SpaceOutliner *space_outliner = (SpaceOutliner *)sl; + space_outliner->filter &= ~SO_FILTER_CLEARED_1; + } + } + } + } } } |