[Bf-blender-cvs] [fd0250f1bc7] blender2.8: UI: collapse some paint / sculpt panels by default.

Brecht Van Lommel noreply at git.blender.org
Mon Oct 1 17:36:12 CEST 2018


Commit: fd0250f1bc72def32850b7da894a36c08b8d0037
Author: Brecht Van Lommel
Date:   Mon Oct 1 15:39:03 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBfd0250f1bc72def32850b7da894a36c08b8d0037

UI: collapse some paint / sculpt panels by default.

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 35a39361488..a5ab22da3ea 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -628,6 +628,7 @@ class VIEW3D_PT_stencil_projectpaint(View3DPanel, Panel):
 class VIEW3D_PT_tools_brush_overlay(Panel, View3DPaintPanel):
     bl_context = ".paint_common"  # dot on purpose (access from topbar)
     bl_label = "Overlay"
+    bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
     def poll(cls, context):
@@ -1036,6 +1037,7 @@ class VIEW3D_PT_tools_brush_appearance(Panel, View3DPaintPanel):
     bl_context = ".paint_common"  # dot on purpose (access from topbar)
     bl_label = "Appearance"
     bl_parent_id = "VIEW3D_PT_tools_brush_overlay"
+    bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
     def poll(cls, context):
@@ -1203,6 +1205,7 @@ class VIEW3D_PT_tools_imagepaint_symmetry(Panel, View3DPaintPanel):
 class VIEW3D_PT_tools_projectpaint(View3DPaintPanel, Panel):
     bl_context = ".imagepaint"  # dot on purpose (access from topbar)
     bl_label = "Project Paint"
+    bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
     def poll(cls, context):



More information about the Bf-blender-cvs mailing list