[Bf-extensions-cvs] [69bcc72f] master: addons contrib: close panels by default, fix tabs: T70017

meta-androcto noreply at git.blender.org
Wed Sep 25 04:11:01 CEST 2019


Commit: 69bcc72f1ec4df73265ce35851658ef184b9d0f9
Author: meta-androcto
Date:   Wed Sep 25 12:10:42 2019 +1000
Branches: master
https://developer.blender.org/rBAC69bcc72f1ec4df73265ce35851658ef184b9d0f9

addons contrib: close panels by default, fix tabs: T70017

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

M	development_ui_classes.py
M	exact_edit/__init__.py
M	io_import_sound_to_anim.py
M	lighting_hdri_shortcut/__init__.py
M	mesh_selectbuffer.py
M	mesh_show_vgroup_weights.py
M	mocap/__init__.py
M	object_mesh_versions.py
M	render_to_print.py
M	text_editor_hastebin.py

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

diff --git a/development_ui_classes.py b/development_ui_classes.py
index 13cfd755..68adc583 100644
--- a/development_ui_classes.py
+++ b/development_ui_classes.py
@@ -48,6 +48,7 @@ class TEXT_PT_ui_cheat_sheet(Panel):
     bl_space_type = "TEXT_EDITOR"
     bl_region_type = "UI"
     bl_label = "UI Cheat Sheet"
+    bl_category = 'Dev'
     bl_options = {"DEFAULT_CLOSED"}
 
     def draw(self, context):
diff --git a/exact_edit/__init__.py b/exact_edit/__init__.py
index 7b08f8c2..607e75ff 100644
--- a/exact_edit/__init__.py
+++ b/exact_edit/__init__.py
@@ -46,8 +46,8 @@ class XEDIT_PT_ui_pan(bpy.types.Panel):
     bl_idname = 'XEDIT_PT_base_panel'
     bl_space_type = 'VIEW_3D'
     bl_region_type = 'UI'
-    #bl_context = 'objectmode'
     bl_category = 'Edit'
+    bl_options = {'DEFAULT_CLOSED'}
 
     def draw(self, context):
         row = self.layout.row(align=True)
diff --git a/io_import_sound_to_anim.py b/io_import_sound_to_anim.py
index ceab4323..839f771b 100644
--- a/io_import_sound_to_anim.py
+++ b/io_import_sound_to_anim.py
@@ -68,14 +68,14 @@ def _Interna_Globals(BytesDadosTotProcess, context):
     bl_label = "Import Movement From Wav File"
     bl_options = {'DEFAULT_CLOSED'}"""
     
-class VIEW3D_PT_CustomMenuPanel(bpy.types.Panel):
+class VIEW3D_PT_SoundPanel(bpy.types.Panel):
     bl_idname = "IMPORTWAVTOOL_PT_tools"
     bl_space_type = "VIEW_3D"
     bl_context = "objectmode"
     bl_region_type = "UI"
     bl_label = "Import Tool"
-    bl_category = "Import Movement From Wav File"
-    #bl_options = {'DEFAULT_CLOSED'}
+    bl_category = "Animate"
+    bl_options = {'DEFAULT_CLOSED'}
     
     def draw(self, context):
         layout = self.layout
@@ -1513,7 +1513,7 @@ class ModalTimerOperator(bpy.types.Operator):
 # ------------------------------------------------------------
 # Register:
 classes = (
-    VIEW3D_PT_CustomMenuPanel,
+    VIEW3D_PT_SoundPanel,
     ModalTimerOperator,
     OBJECT_OT_Botao_Cancel,
     OBJECT_OT_Botao_Go,
diff --git a/lighting_hdri_shortcut/__init__.py b/lighting_hdri_shortcut/__init__.py
index bfe74888..2afa27d9 100644
--- a/lighting_hdri_shortcut/__init__.py
+++ b/lighting_hdri_shortcut/__init__.py
@@ -479,6 +479,7 @@ class LIGHT_PT_hdri_map(bpy.types.Panel):
     bl_space_type = 'PROPERTIES'
     bl_region_type = 'WINDOW'
     bl_context = "world"
+    bl_options = {'DEFAULT_CLOSED'}
 
     def draw(self, context):
         global adjustments, img_path
diff --git a/mesh_selectbuffer.py b/mesh_selectbuffer.py
index 6def99c7..66cfca8c 100644
--- a/mesh_selectbuffer.py
+++ b/mesh_selectbuffer.py
@@ -98,6 +98,7 @@ class KTXSELECTBUFFER_PT_Panel(bpy.types.Panel):
     bl_region_type = 'UI'
     bl_category = 'Edit'
     bl_context = "mesh_edit"
+    bl_options = {'DEFAULT_CLOSED'}
 
     def draw(self, context):
         obj = bpy.context.object
diff --git a/mesh_show_vgroup_weights.py b/mesh_show_vgroup_weights.py
index aad95a64..8e838d5e 100644
--- a/mesh_show_vgroup_weights.py
+++ b/mesh_show_vgroup_weights.py
@@ -358,6 +358,7 @@ class MESH_PT_ShowWeights(bpy.types.Panel):
     bl_label = "Show Weights"
     bl_space_type = "VIEW_3D"
     bl_region_type = "UI"
+    bl_category = "Edit"
     bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
diff --git a/mocap/__init__.py b/mocap/__init__.py
index c73dcbc5..aaa09461 100644
--- a/mocap/__init__.py
+++ b/mocap/__init__.py
@@ -269,6 +269,7 @@ class MocapPanel(bpy.types.Panel):
     bl_space_type = "PROPERTIES"
     bl_region_type = "WINDOW"
     bl_context = "object"
+    bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
     def poll(cls, context):
diff --git a/object_mesh_versions.py b/object_mesh_versions.py
index e0fbf872..72a67673 100644
--- a/object_mesh_versions.py
+++ b/object_mesh_versions.py
@@ -114,7 +114,8 @@ class KTXMESHVERSIONS_PT_mainPanel(bpy.types.Panel):
     bl_idname = "KTXMESHVERSIONS_PT_mainPanel"
     bl_space_type = 'VIEW_3D'
     bl_region_type = 'UI'
-    bl_category = 'Object'
+    bl_category = 'Edit'
+    bl_options = {'DEFAULT_CLOSED'}
 
     def draw(self, context):
         scene = context.scene
diff --git a/render_to_print.py b/render_to_print.py
index b39b40d3..2d82590e 100644
--- a/render_to_print.py
+++ b/render_to_print.py
@@ -223,12 +223,10 @@ def pixels_from_print(ps):
 
 class RENDER_PT_print(Panel):
     bl_label = "Render to Print"
-    # bl_space_type = 'PROPERTIES'
-    # bl_region_type = 'WINDOW'
-    # bl_context = 'render'
     bl_space_type = 'PROPERTIES'
     bl_region_type = 'WINDOW'
     bl_context = "output"
+    bl_options = {'DEFAULT_CLOSED'}
 
     def draw(self, context):
 
diff --git a/text_editor_hastebin.py b/text_editor_hastebin.py
index 070a9da7..8b4a81c4 100644
--- a/text_editor_hastebin.py
+++ b/text_editor_hastebin.py
@@ -35,6 +35,8 @@ class TEXT_PT_hastebin(bpy.types.Panel):
     bl_space_type = 'TEXT_EDITOR'
     bl_region_type = 'UI'
     bl_label = "hastebin.com"
+    bl_category = 'Dev'
+    bl_options = {'DEFAULT_CLOSED'}
 
     def draw(self, context):
         layout = self.layout



More information about the Bf-extensions-cvs mailing list