This commit is contained in:
Kayla Man 2023-09-08 17:24:01 +08:00
parent 35e287a57d
commit cce6bf2e42
2 changed files with 5 additions and 5 deletions

View file

@ -75,13 +75,13 @@ class ValidateSkeletonRigContents(pyblish.api.InstancePlugin):
error = True
if invalid_controls:
self.log.error("Only transforms can be part of the skeletonAnim_SET."
"\n%s" % invalid_controls)
self.log.error("Only transforms can be part of the "
"skeletonAnim_SET. \n%s" % invalid_controls)
error = True
if invalid_geometry:
self.log.error("Only meshes can be part of the skeletonMesh_SET\n%s"
% invalid_geometry)
self.log.error("Only meshes can be part of the "
"skeletonMesh_SET\n%s" % invalid_geometry)
error = True
if error:

View file

@ -58,7 +58,7 @@ class ValidateSkeletonRigOutputIds(pyblish.api.InstancePlugin):
return invalid
instance_nodes = cmds.sets(
skeletonMesh_set, query=True, nodesOnly=True)
skeletonMesh_set, query=True, nodesOnly=True)
instance_nodes = cmds.ls(instance_nodes, long=True)
if not instance_nodes: