mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
update ftrack publishing to the new api
This commit is contained in:
parent
1f6e1abce6
commit
8080b81a8c
14 changed files with 77 additions and 871 deletions
|
|
@ -109,6 +109,9 @@ class CollectInstances(pyblish.api.ContextPlugin):
|
|||
# Store the exact members of the object set
|
||||
instance.data["setMembers"] = members
|
||||
|
||||
# make ftrack publishable
|
||||
instance.data["families"] = ['ftrack']
|
||||
|
||||
# Define nice label
|
||||
name = cmds.ls(objset, long=False)[0] # use short name
|
||||
label = "{0} ({1})".format(name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue