[Bf-extensions-cvs] [245d0134] master: system addons, close panels by default: T70017

meta-androcto noreply at git.blender.org
Tue Sep 24 08:58:09 CEST 2019


Commit: 245d0134cfed3351360d8fe6e36af71140809950
Author: meta-androcto
Date:   Tue Sep 24 16:57:50 2019 +1000
Branches: master
https://developer.blender.org/rBA245d0134cfed3351360d8fe6e36af71140809950

system addons, close panels by default: T70017

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

M	system_blend_info.py
M	system_demo_mode/__init__.py
M	system_property_chart.py

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

diff --git a/system_blend_info.py b/system_blend_info.py
index 63fbee5a..e49748e3 100644
--- a/system_blend_info.py
+++ b/system_blend_info.py
@@ -62,6 +62,7 @@ class OBJECT_PT_blendinfo(bpy.types.Panel):
     bl_space_type = "PROPERTIES"
     bl_region_type = "WINDOW"
     bl_context = "scene"
+    bl_options = {'DEFAULT_CLOSED'}
 
     def draw(self, context):
         ob_cols = []
diff --git a/system_demo_mode/__init__.py b/system_demo_mode/__init__.py
index b07da919..dee808a2 100644
--- a/system_demo_mode/__init__.py
+++ b/system_demo_mode/__init__.py
@@ -22,7 +22,7 @@ bl_info = {
     "name": "Demo Mode",
     "author": "Campbell Barton",
     "blender": (2, 80, 0),
-    "location": "Demo Menu",
+    "location": "File > Demo Menu",
     "description": "Demo mode lets you select multiple blend files and loop over them.",
     "warning": "",
     "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/"
diff --git a/system_property_chart.py b/system_property_chart.py
index 7f44f89d..1aefb643 100644
--- a/system_property_chart.py
+++ b/system_property_chart.py
@@ -192,6 +192,7 @@ class View3DEditProps(Panel):
     bl_category = "Item"
     bl_label = "Property Chart"
     bl_context = "objectmode"
+    bl_options = {'DEFAULT_CLOSED'}
 
     _PROP_STORAGE_ID = "view3d_edit_props"
     _PROP_STORAGE_ID_DESCR = "Properties of objects in the context"
@@ -210,6 +211,7 @@ class SequencerEditProps(Panel):
     bl_region_type = 'UI'
     bl_category = "Item"
     bl_label = "Property Chart"
+    bl_options = {'DEFAULT_CLOSED'}
 
     _PROP_STORAGE_ID = "sequencer_edit_props"
     _PROP_STORAGE_ID_DESCR = "Properties of sequencer strips in the context"



More information about the Bf-extensions-cvs mailing list