Outliner: Fix scenes in scene display not starting open
This commit is contained in:
parent
6bc6d016c5
commit
1e51411db4
|
@ -2347,7 +2347,8 @@ void outliner_build_tree(
|
|||
te = outliner_add_element(soops, &soops->tree, sce, NULL, 0, 0);
|
||||
tselem = TREESTORE(te);
|
||||
|
||||
if (sce == scene && show_opened) {
|
||||
/* New scene elements open by default */
|
||||
if ((sce == scene && show_opened) || !tselem->used) {
|
||||
tselem->flag &= ~TSE_CLOSED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue