Merge branch 'hotfix/limit_resources'

This commit is contained in:
Milan Kolar 2020-08-12 23:04:25 +02:00
commit 24728f6b8f
2 changed files with 35 additions and 1 deletions

View file

@ -20,6 +20,40 @@ class CollectResourcesPath(pyblish.api.InstancePlugin):
label = "Collect Resources Path"
order = pyblish.api.CollectorOrder + 0.495
families = ["workfile",
"pointcache",
"camera",
"animation",
"model",
"mayaAscii",
"setdress",
"layout",
"ass",
"vdbcache",
"scene",
"vrayproxy",
"render",
"prerender",
"imagesequence",
"rendersetup",
"rig",
"plate",
"look",
"lut",
"yetiRig",
"yeticache",
"nukenodes",
"gizmo",
"source",
"matchmove",
"image",
"source",
"assembly",
"fbx",
"textures",
"action",
"background"
]
def process(self, instance):
anatomy = instance.context.data["anatomy"]

View file

@ -14,7 +14,7 @@ class CollectMatchingAssetToInstance(pyblish.api.InstancePlugin):
label = "Collect Matching Asset to Instance"
order = pyblish.api.CollectorOrder - 0.05
hosts = ["standalonepublisher"]
family = ["background_batch"]
families = ["background_batch"]
def process(self, instance):
source_file = os.path.basename(instance.data["source"]).lower()