Commit 69bcc72f authored by meta-androcto's avatar meta-androcto

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

parent 208bce82
......@@ -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):
......
......@@ -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)
......
......@@ -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,
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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):
......
......@@ -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
......
......@@ -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):
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment