mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
changing ftrack publishing from all families to only model and look for now.
This commit is contained in:
parent
2797d2b4de
commit
b912a0d7ca
3 changed files with 8 additions and 5 deletions
|
|
@ -109,9 +109,6 @@ 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,
|
||||
|
|
@ -126,7 +123,6 @@ class CollectInstances(pyblish.api.ContextPlugin):
|
|||
|
||||
instance.data.update(data)
|
||||
|
||||
|
||||
# Produce diagnostic message for any graphical
|
||||
# user interface interested in visualising it.
|
||||
self.log.info("Found: \"%s\" " % instance.data["name"])
|
||||
|
|
|
|||
|
|
@ -107,6 +107,7 @@ def seq_to_glob(path):
|
|||
"<f>": "<f>"
|
||||
}
|
||||
|
||||
|
||||
lower = path.lower()
|
||||
has_pattern = False
|
||||
for pattern, regex_pattern in patterns.items():
|
||||
|
|
@ -213,6 +214,9 @@ class CollectLook(pyblish.api.InstancePlugin):
|
|||
with lib.renderlayer(instance.data["renderlayer"]):
|
||||
self.collect(instance)
|
||||
|
||||
# make ftrack publishable
|
||||
instance.data["families"] = ['ftrack']
|
||||
|
||||
def collect(self, instance):
|
||||
|
||||
self.log.info("Looking for look associations "
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ class CollectModelData(pyblish.api.InstancePlugin):
|
|||
"""Collect model data
|
||||
|
||||
Ensures always only a single frame is extracted (current frame).
|
||||
|
||||
|
||||
Note:
|
||||
This is a workaround so that the `studio.model` family can use the
|
||||
same pointcache extractor implementation as animation and pointcaches.
|
||||
|
|
@ -24,3 +24,6 @@ class CollectModelData(pyblish.api.InstancePlugin):
|
|||
frame = cmds.currentTime(query=True)
|
||||
instance.data['startFrame'] = frame
|
||||
instance.data['endFrame'] = frame
|
||||
|
||||
# make ftrack publishable
|
||||
instance.data["families"] = ['ftrack']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue