Files
Avatar-Toolkit/ui/uv_panel.py
T
2024-09-09 21:26:45 -04:00

17 lines
485 B
Python

import bpy
from ..core.register import register_wrap
from ..functions.translations import t
from .panel import draw_title
@register_wrap
class UVTools_PT_MainPanel(bpy.types.Panel):
bl_label = t("AvatarToolkit.label")
bl_idname = "OBJECT_PT_avatar_toolkit_uv"
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'UI'
bl_category = "Avatar Toolkit"
def draw(self: bpy.types.Panel, context: bpy.types.Context):
layout = self.layout
draw_title(self)