diff options
author | Julian Eisel <julian@blender.org> | 2022-05-27 20:13:59 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-05-27 20:13:59 +0300 |
commit | da1dd98101a3301817f7776941246d4fa680731c (patch) | |
tree | c30ffa00876e5415a7b02f1c37dc6992adfc1dc0 /source/blender/editors/space_outliner/tree | |
parent | bd2f9a16fb0c606ccc8a39f983293f462f89751e (diff) | |
parent | b45f410b3157cb13e7ff4d88dcf5557d2621b9c3 (diff) |
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'source/blender/editors/space_outliner/tree')
-rw-r--r-- | source/blender/editors/space_outliner/tree/tree_display_libraries.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/tree/tree_display_libraries.cc b/source/blender/editors/space_outliner/tree/tree_display_libraries.cc index 46a89f17687..405f1dd73f4 100644 --- a/source/blender/editors/space_outliner/tree/tree_display_libraries.cc +++ b/source/blender/editors/space_outliner/tree/tree_display_libraries.cc @@ -116,6 +116,11 @@ TreeElement *TreeDisplayLibraries::add_library_contents(Main &mainvar, ListBase ID *id = static_cast<ID *>(lbarray[a]->first); const bool is_library = (GS(id->name) == ID_LI) && (lib != nullptr); + /* Don't show deprecated types. */ + if (ID_TYPE_IS_DEPRECATED(GS(id->name))) { + continue; + } + /* check if there's data in current lib */ for (ID *id_iter : List<ID>(lbarray[a])) { if (id_iter->lib == lib) { |