[Bf-blender-cvs] [da1b519d829] master: UI: collapse 3D view collections visibility panel by default.

Brecht Van Lommel noreply at git.blender.org
Thu Apr 18 19:55:31 CEST 2019


Commit: da1b519d829b8caca440c9cd6712e92e5436a5c0
Author: Brecht Van Lommel
Date:   Thu Apr 18 19:14:19 2019 +0200
Branches: master
https://developer.blender.org/rBda1b519d829b8caca440c9cd6712e92e5436a5c0

UI: collapse 3D view collections visibility panel by default.

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index e987ef9b6db..d16a50cc3d1 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4387,6 +4387,7 @@ class VIEW3D_PT_collections(Panel):
     bl_region_type = 'UI'
     bl_category = "View"
     bl_label = "Collections Visibility"
+    bl_options = {'DEFAULT_CLOSED'}
 
     def _draw_collection(self, layout, view_layer, collection, index):
         need_separator = index



More information about the Bf-blender-cvs mailing list