mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
replace endswith by startswith in rig outputs id
need this one for publish multiple rig in one asset.
This commit is contained in:
parent
afa1d3cb03
commit
363af956d4
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class ValidateRigOutputIds(pyblish.api.InstancePlugin):
|
|||
invalid = {}
|
||||
|
||||
if compute:
|
||||
out_set = next(x for x in instance if x.endswith("out_SET"))
|
||||
out_set = next(x for x in instance if x.startswith("out_SET"))
|
||||
|
||||
instance_nodes = cmds.sets(out_set, query=True, nodesOnly=True)
|
||||
instance_nodes = cmds.ls(instance_nodes, long=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue