This commit is contained in:
2026-01-22 00:06:13 +08:00
parent f26fc95ea3
commit ed7476e54b
316 changed files with 4962 additions and 14039 deletions

View File

@@ -43,14 +43,14 @@ def list_custom_nodes_for_meshes(meshes):
return list(itertools.chain.from_iterable([list_custom_nodes_for_mesh(i) for i in meshes]))
message_scene_noCustomNodes = 'Scene does not contain any custom ngSkinTools nodes.'
message_selection_noCustomNodes = 'Selection does not contain any custom ngSkinTools nodes.'
message_scene_noCustomNodes = '场景中不包含任何自定义的ngSkinTools节点。'
message_selection_noCustomNodes = '选择不包含任何自定义ngskinTools节点。'
message_scene_warning = (
'This command deletes all custom ngSkinTools nodes. Skin weights ' 'will be preserved, but all layer data will be lost. Do you want to continue?'
'此命令删除所有自定义ngSkinTools节点。蒙皮权重“”将被保留但所有图层数据都将丢失。您想继续吗'
)
message_selection_warning = (
'This command deletes custom ngSkinTools nodes for selection. Skin weights '
'will be preserved, but all layer data will be lost. Do you want to continue?'
'此命令删除要选择的自定义ngSkinTools节点。皮肤重量'
'将被保留,但所有图层数据都将丢失。您想继续吗?'
)
@@ -89,7 +89,7 @@ def remove_custom_nodes(interactive=False, session=None, meshes=None):
if PaintTool.is_painting():
# make sure that painting is canceled to restore mesh display etc
cmds.setToolTo("Move")
cmds.setToolTo("移除") # Move
if session is not None:
session.events.targetChanged.emitIfChanged()