UI side Translations complete
This commit is contained in:
+3
-5
@@ -18,7 +18,7 @@ class AvatarToolkitVisemePanel(bpy.types.Panel):
|
||||
|
||||
armature = get_selected_armature(context)
|
||||
if armature:
|
||||
layout.prop(context.scene, "selected_mesh", text="Select Mesh")
|
||||
layout.prop(context.scene, "selected_mesh", text=t("VisemePanel.select_mesh"))
|
||||
|
||||
mesh = bpy.data.objects.get(context.scene.selected_mesh)
|
||||
if mesh and mesh.type == 'MESH':
|
||||
@@ -27,9 +27,9 @@ class AvatarToolkitVisemePanel(bpy.types.Panel):
|
||||
layout.prop_search(context.scene, "mouth_o", mesh.data.shape_keys, "key_blocks", text=t('VisemePanel.mouth_o.label'))
|
||||
layout.prop_search(context.scene, "mouth_ch", mesh.data.shape_keys, "key_blocks", text=t('VisemePanel.mouth_ch.label'))
|
||||
|
||||
layout.prop(context.scene, 'shape_intensity')
|
||||
layout.prop(context.scene, 'shape_intensity', text=t('VisemePanel.shape_intensity'))
|
||||
|
||||
layout.operator("avatar_toolkit.create_visemes", icon='TRIA_RIGHT')
|
||||
layout.operator("avatar_toolkit.create_visemes", text=t('VisemePanel.create_visemes'), icon='TRIA_RIGHT')
|
||||
else:
|
||||
layout.label(text=t('VisemePanel.error.noShapekeys'), icon='ERROR')
|
||||
else:
|
||||
@@ -39,5 +39,3 @@ class AvatarToolkitVisemePanel(bpy.types.Panel):
|
||||
|
||||
layout.separator()
|
||||
layout.label(text=t('VisemePanel.info.selectMesh'))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user