[Bf-blender-cvs] [7fb540b4cf1] blender-v2.92-release: Fix T85357: Setting collection color restricted to View Layer mode

Nathan Craddock noreply at git.blender.org
Thu Feb 4 18:40:02 CET 2021


Commit: 7fb540b4cf172501db910bce3d96f14ac012706f
Author: Nathan Craddock
Date:   Thu Feb 4 10:26:42 2021 -0700
Branches: blender-v2.92-release
https://developer.blender.org/rB7fb540b4cf172501db910bce3d96f14ac012706f

Fix T85357: Setting collection color restricted to View Layer mode

Allow setting collection color in Scenes and Blender File outliner
display modes in addition to View Layer mode.

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

M	release/scripts/startup/bl_ui/space_outliner.py

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

diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py
index 2cb2455ff63..1df7360774f 100644
--- a/release/scripts/startup/bl_ui/space_outliner.py
+++ b/release/scripts/startup/bl_ui/space_outliner.py
@@ -239,10 +239,10 @@ class OUTLINER_MT_collection(Menu):
         if space.display_mode == 'VIEW_LAYER':
             layout.separator()
             layout.menu("OUTLINER_MT_collection_view_layer", icon='RENDERLAYERS')
-            layout.separator()
 
-            row = layout.row(align=True)
-            row.operator_enum("outliner.collection_color_tag_set", "color", icon_only=True)
+        layout.separator()
+        row = layout.row(align=True)
+        row.operator_enum("outliner.collection_color_tag_set", "color", icon_only=True)
 
         layout.separator()



More information about the Bf-blender-cvs mailing list