update ftrack publishing to the new api

This commit is contained in:
Milan Kolar 2018-11-29 01:48:42 +01:00
parent 1f6e1abce6
commit 8080b81a8c
14 changed files with 77 additions and 871 deletions

View file

@ -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,