mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
General: Extract burnin hosts filters (#4749)
* remove hosts filter in ExtractBurnin * skip instances without representations instead of crash --------- Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
This commit is contained in:
parent
16734d3d02
commit
d8987149ad
1 changed files with 4 additions and 21 deletions
|
|
@ -34,24 +34,6 @@ class ExtractBurnin(publish.Extractor):
|
|||
order = pyblish.api.ExtractorOrder + 0.03
|
||||
|
||||
families = ["review", "burnin"]
|
||||
hosts = [
|
||||
"nuke",
|
||||
"maya",
|
||||
"shell",
|
||||
"hiero",
|
||||
"premiere",
|
||||
"traypublisher",
|
||||
"standalonepublisher",
|
||||
"harmony",
|
||||
"fusion",
|
||||
"aftereffects",
|
||||
"tvpaint",
|
||||
"webpublisher",
|
||||
"aftereffects",
|
||||
"photoshop",
|
||||
"flame"
|
||||
# "resolve"
|
||||
]
|
||||
|
||||
optional = True
|
||||
|
||||
|
|
@ -78,9 +60,10 @@ class ExtractBurnin(publish.Extractor):
|
|||
self.log.warning("No profiles present for create burnin")
|
||||
return
|
||||
|
||||
# QUESTION what is this for and should we raise an exception?
|
||||
if "representations" not in instance.data:
|
||||
raise RuntimeError("Burnin needs already created mov to work on.")
|
||||
if not instance.data.get("representations"):
|
||||
self.log.info(
|
||||
"Instance does not have filled representations. Skipping")
|
||||
return
|
||||
|
||||
self.main_process(instance)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue