mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
parent
c105eedbc7
commit
2b202dd759
2 changed files with 8 additions and 29 deletions
|
|
@ -1,29 +0,0 @@
|
|||
"""
|
||||
Requires:
|
||||
Nothing
|
||||
|
||||
Provides:
|
||||
Instance
|
||||
"""
|
||||
|
||||
import pyblish.api
|
||||
import logging
|
||||
|
||||
|
||||
log = logging.getLogger("collector")
|
||||
|
||||
|
||||
class CollectMatchmovePublish(pyblish.api.InstancePlugin):
|
||||
"""
|
||||
Collector with only one reason for its existence - remove 'ftrack'
|
||||
family implicitly added by Standalone Publisher
|
||||
"""
|
||||
|
||||
label = "Collect Matchmove - SA Publish"
|
||||
order = pyblish.api.CollectorOrder
|
||||
families = ["matchmove"]
|
||||
hosts = ["standalonepublisher"]
|
||||
|
||||
def process(self, instance):
|
||||
if "ftrack" in instance.data["families"]:
|
||||
instance.data["families"].remove("ftrack")
|
||||
|
|
@ -211,6 +211,14 @@
|
|||
],
|
||||
"add_ftrack_family": true
|
||||
},
|
||||
{
|
||||
"families": ["matchmove"],
|
||||
"tasks": [],
|
||||
"hosts": [
|
||||
"standalonepublisher"
|
||||
],
|
||||
"add_ftrack_family": false
|
||||
},
|
||||
{
|
||||
"families": [
|
||||
"model",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue