From 12083c28c532fea0dcc74373fba542ea878367ed Mon Sep 17 00:00:00 2001 From: Yusarina Date: Tue, 1 Apr 2025 17:32:45 +0100 Subject: [PATCH] Small fixes --- core/updater.py | 2 +- functions/custom_tools/armature_merging.py | 2 +- ui/atlas_materials_panel.py | 2 +- ui/settings_panel.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/updater.py b/core/updater.py index bfe4cbc..125cc7a 100644 --- a/core/updater.py +++ b/core/updater.py @@ -84,7 +84,7 @@ class AvatarToolkit_PT_UpdaterPanel(bpy.types.Panel): bl_region_type = 'UI' bl_category = CATEGORY_NAME bl_parent_id = AvatarToolKit_PT_AvatarToolkitPanel.bl_idname - bl_order = 8 + bl_order = 9 bl_options = {'DEFAULT_CLOSED'} def draw(self, context: bpy.types.Context) -> None: diff --git a/functions/custom_tools/armature_merging.py b/functions/custom_tools/armature_merging.py index cfe197a..133fe65 100644 --- a/functions/custom_tools/armature_merging.py +++ b/functions/custom_tools/armature_merging.py @@ -11,8 +11,8 @@ from ...core.common import ( clear_unused_data_blocks, join_mesh_objects, remove_unused_shapekeys, - simplify_bonename ) +from ...core.dictionaries import simplify_bonename class AvatarToolkit_OT_MergeArmature(bpy.types.Operator): """Operator for merging two armatures together with their associated meshes""" diff --git a/ui/atlas_materials_panel.py b/ui/atlas_materials_panel.py index ee940ba..8f8c056 100644 --- a/ui/atlas_materials_panel.py +++ b/ui/atlas_materials_panel.py @@ -213,7 +213,7 @@ class AvatarToolKit_PT_TextureAtlasPanel(Panel): bl_region_type = 'UI' bl_category = CATEGORY_NAME bl_parent_id = AvatarToolKit_PT_AvatarToolkitPanel.bl_idname - bl_order = 6 + bl_order = 7 def draw(self, context: Context): layout = self.layout diff --git a/ui/settings_panel.py b/ui/settings_panel.py index d0bd2f3..6e7c322 100644 --- a/ui/settings_panel.py +++ b/ui/settings_panel.py @@ -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 = 7 + bl_order: int = 8 bl_options = {'DEFAULT_CLOSED'} def draw(self, context: Context) -> None: