From 494077b1a0b4c148ea9b9acdc73493cea2d22f02 Mon Sep 17 00:00:00 2001 From: 989onan Date: Tue, 10 Sep 2024 21:11:36 -0400 Subject: [PATCH] fix some broken changes --- functions/mesh_tools.py | 2 +- ui/uv_tools.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/mesh_tools.py b/functions/mesh_tools.py index c0e2a23..9819e66 100644 --- a/functions/mesh_tools.py +++ b/functions/mesh_tools.py @@ -6,7 +6,7 @@ from ..functions.translations import t from ..core.register import register_wrap @register_wrap -class AvatarToolkit_OT_RemoveUnusedShapekeys(bpy.types.Operators): +class AvatarToolkit_OT_RemoveUnusedShapekeys(bpy.types.Operator): tolerance: bpy.props.FloatProperty(name=t("Tools.remove_unused_shapekeys.tolerance.label"), default=0.001, description=t("Tools.remove_unused_shapekeys.tolerance.desc")) bl_idname = "avatar_toolkit.remove_unused_shapekeys" bl_label = t("Tools.remove_unused_shapekeys.label") diff --git a/ui/uv_tools.py b/ui/uv_tools.py index d5a6d83..e4b5244 100644 --- a/ui/uv_tools.py +++ b/ui/uv_tools.py @@ -4,6 +4,7 @@ from ..core.register import register_wrap from ..functions.translations import t from ..functions.uv_tools import AvatarToolkit_OT_AlignUVEdgesToTarget from .panel import draw_title +from .uv_panel import UVTools_PT_MainPanel @register_wrap class UVTools_PT_Tools(bpy.types.Panel): @@ -12,7 +13,7 @@ class UVTools_PT_Tools(bpy.types.Panel): bl_space_type = 'IMAGE_EDITOR' bl_region_type = 'UI' bl_category = "Avatar Toolkit" - bl_parent_id = "OBJECT_PT_avatar_toolkit_uv" + bl_parent_id = UVTools_PT_MainPanel.bl_idname bl_order = 3 def draw(self, context: bpy.types.Context):