UVAligner Tool
- Adds a new Avatar Toolkit panel location for UV tools - adds Align UV Edges to target - Allows for aligning uv vertices in a line on one object to another's uvs pixel perfect. This is useful for making one model copy another model's UV's with some user work - Added translation keys for tool
This commit is contained in:
+9
-5
@@ -2,6 +2,13 @@ import bpy
|
||||
from ..core.register import register_wrap
|
||||
from ..functions.translations import t
|
||||
|
||||
def draw_title(self: bpy.types.Panel):
|
||||
layout = self.layout
|
||||
layout.label(text=t("AvatarToolkit.welcome"))
|
||||
layout.label(text=t("AvatarToolkit.description"))
|
||||
layout.label(text=t("AvatarToolkit.alpha_warning"))
|
||||
|
||||
|
||||
@register_wrap
|
||||
class AvatarToolkitPanel(bpy.types.Panel):
|
||||
bl_label = t("AvatarToolkit.label")
|
||||
@@ -10,10 +17,7 @@ class AvatarToolkitPanel(bpy.types.Panel):
|
||||
bl_region_type = 'UI'
|
||||
bl_category = "Avatar Toolkit"
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.label(text=t("AvatarToolkit.welcome"))
|
||||
layout.label(text=t("AvatarToolkit.description"))
|
||||
layout.label(text=t("AvatarToolkit.alpha_warning"))
|
||||
def draw(self: bpy.types.Panel, context: bpy.types.Context):
|
||||
draw_title(self)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user