[Bf-blender-cvs] [d4d3a77] GPencil_Editing_Stage3: GP Sculpt: Collapse Edit/Sculpt panels by default

Joshua Leung noreply at git.blender.org
Thu Jul 23 03:20:22 CEST 2015


Commit: d4d3a77a2ac0a59e41836c6c153cb3e9dbb1bba9
Author: Joshua Leung
Date:   Fri Jul 17 02:25:04 2015 +1200
Branches: GPencil_Editing_Stage3
https://developer.blender.org/rBd4d3a77a2ac0a59e41836c6c153cb3e9dbb1bba9

GP Sculpt: Collapse Edit/Sculpt panels by default

Now tha we have many more editing tools/options here now, it's better to keep
both of these collapsed, so that users have a greater chance of discovering
the existence of either/or. Furthermore, since the editing tools have been
available for a few releases now, users should be more familiar with what's on
offer there now

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

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

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

diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 6e9f902..b7f828b 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -101,6 +101,7 @@ class GreasePencilStrokeEditPanel:
     bl_label = "Edit Strokes"
     bl_category = "Grease Pencil"
     bl_region_type = 'TOOLS'
+    bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
     def poll(cls, context):
@@ -160,6 +161,7 @@ class GreasePencilStrokeSculptPanel:
     bl_label = "Sculpt Strokes"
     bl_category = "Grease Pencil"
     bl_region_type = 'TOOLS'
+    bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
     def poll(cls, context):




More information about the Bf-blender-cvs mailing list