Finale Fixes

This commit is contained in:
Yusarina
2024-12-16 12:57:51 +00:00
parent c081b89233
commit aaad062b41
8 changed files with 21 additions and 10 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ class AvatarToolKit_PT_CustomPanel(Panel):
bl_region_type = 'UI'
bl_category = CATEGORY_NAME
bl_parent_id = AvatarToolKit_PT_AvatarToolkitPanel.bl_idname
bl_order = 3
bl_order = 4
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context: Context) -> None:
+1 -1
View File
@@ -26,7 +26,7 @@ class AvatarToolKit_PT_EyeTrackingPanel(Panel):
bl_region_type = 'UI'
bl_category = CATEGORY_NAME
bl_parent_id = AvatarToolKit_PT_AvatarToolkitPanel.bl_idname
bl_order = 3
bl_order = 6
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context: Context) -> None:
-5
View File
@@ -75,11 +75,6 @@ class AvatarToolKit_PT_QuickAccessPanel(Panel):
bl_parent_id: str = AvatarToolKit_PT_AvatarToolkitPanel.bl_idname
bl_order: int = 0
@classmethod
def poll(cls, context: Context) -> bool:
"""Only show panel in Object or Pose mode"""
return context.mode in {'OBJECT', 'POSE'}
def draw(self, context: Context) -> None:
"""Draw the panel layout"""
layout: UILayout = self.layout
+1 -1
View File
@@ -36,7 +36,7 @@ class AvatarToolKit_PT_SettingsPanel(Panel):
bl_region_type: str = 'UI'
bl_category: str = CATEGORY_NAME
bl_parent_id: str = AvatarToolKit_PT_AvatarToolkitPanel.bl_idname
bl_order: int = 5
bl_order: int = 7
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context: Context) -> None:
+1 -1
View File
@@ -10,7 +10,7 @@ class AvatarToolKit_PT_VisemesPanel(Panel):
bl_region_type: str = 'UI'
bl_category: str = CATEGORY_NAME
bl_parent_id: str = AvatarToolKit_PT_AvatarToolkitPanel.bl_idname
bl_order: int = 4
bl_order: int = 5
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context: Context) -> None: