Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-13 23:37:45 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-13 23:37:45 +0300
commit1de990651ff30aa07aaa81b34620f6fdfc5e6a67 (patch)
tree41ef458037f445eba5d1c1ba4ef3243d79f357a0 /source/blender/editors/space_outliner/outliner_tree.c
parentcac0e604e7b8176fd79b45ededc5fda990201832 (diff)
Fix T64292: world missing from outliner Scenes view
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_tree.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_tree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c
index 7e804e10559..80424f021e2 100644
--- a/source/blender/editors/space_outliner/outliner_tree.c
+++ b/source/blender/editors/space_outliner/outliner_tree.c
@@ -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");