mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
OP-2765 - changed collector to work with new creator
This commit is contained in:
parent
3c11f46b11
commit
082b2306ee
1 changed files with 5 additions and 0 deletions
|
|
@ -10,6 +10,11 @@ class CollectWorkfile(pyblish.api.ContextPlugin):
|
|||
order = pyblish.api.CollectorOrder + 0.1
|
||||
|
||||
def process(self, context):
|
||||
for instance in context:
|
||||
if instance.data["family"] == "workfile":
|
||||
self.log.debug("Workfile instance found, skipping")
|
||||
return
|
||||
|
||||
task = api.Session["AVALON_TASK"]
|
||||
current_file = context.data["currentFile"]
|
||||
staging_dir = os.path.dirname(current_file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue