Outliner: Fix scenes in scene display not starting open

This commit is contained in:
Nathan Craddock 2019-08-09 13:51:58 -06:00
parent 6bc6d016c5
commit 1e51411db4
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}