Fix T64292: world missing from outliner Scenes view

This commit is contained in:
Brecht Van Lommel
2019-05-13 22:37:45 +02:00
parent cac0e604e7
commit 1de990651f

View File

@@ -302,6 +302,9 @@ static void outliner_add_scene_contents(SpaceOutliner *soops,
tenlay->directdata = view_layer;
}
/* World */
outliner_add_element(soops, lb, sce->world, te, 0, 0);
/* Collections */
ten = outliner_add_element(soops, lb, &sce->id, te, TSE_SCENE_COLLECTION_BASE, 0);
ten->name = IFACE_("Scene Collection");