forked from bartvdbraak/blender
Fix T71026: Outliner - Show Hierarchy (Home Hotkey) Not Working Correctly
In 2.8, code would not enter the new 'Objects' and Collections' 'folders'. Maniphest Tasks: T71026 Differential Revision: https://developer.blender.org/D6123
This commit is contained in:
parent
aff6446e06
commit
d45c7c997f
@ -1600,7 +1600,11 @@ static void tree_element_show_hierarchy(Scene *scene, SpaceOutliner *soops, List
|
||||
for (te = lb->first; te; te = te->next) {
|
||||
tselem = TREESTORE(te);
|
||||
|
||||
if (tselem->type == 0) {
|
||||
if (ELEM(tselem->type,
|
||||
0,
|
||||
TSE_SCENE_OBJECTS_BASE,
|
||||
TSE_VIEW_COLLECTION_BASE,
|
||||
TSE_LAYER_COLLECTION)) {
|
||||
if (te->idcode == ID_SCE) {
|
||||
if (tselem->id != (ID *)scene) {
|
||||
tselem->flag |= TSE_CLOSED;
|
||||
|
Loading…
Reference in New Issue
Block a user