Add UV Tools

This commit is contained in:
Yusarina
2025-01-25 17:48:54 +00:00
parent 44593813b2
commit 071b8186c9
3 changed files with 295 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import bpy
from bpy.types import Panel, Context, UILayout
from ..core.translations import t
class AvatarToolKit_PT_UVPanel(Panel):
"""Main UV Tools panel for Avatar Toolkit"""
bl_label = t("AvatarToolkit.label")
bl_idname = "OBJECT_PT_avatar_toolkit_uv_main"
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'UI'
bl_category = "Avatar Toolkit"
def draw(self, context: Context) -> None:
layout: UILayout = self.layout
# Add title section
box: UILayout = layout.box()
col: UILayout = box.column(align=True)
row: UILayout = col.row()
row.scale_y = 1.2
row.label(text=t("AvatarToolkit.label"), icon='UV')