[Bf-blender-cvs] [1de990651ff] master: Fix T64292: world missing from outliner Scenes view

Brecht Van Lommel noreply at git.blender.org
Mon May 13 22:38:19 CEST 2019


Commit: 1de990651ff30aa07aaa81b34620f6fdfc5e6a67
Author: Brecht Van Lommel
Date:   Mon May 13 22:37:45 2019 +0200
Branches: master
https://developer.blender.org/rB1de990651ff30aa07aaa81b34620f6fdfc5e6a67

Fix T64292: world missing from outliner Scenes view

===================================================================

M	source/blender/editors/space_outliner/outliner_tree.c

===================================================================

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");



More information about the Bf-blender-cvs mailing list