mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Provide new templates source_resolution_* for burnin text
This commit is contained in:
parent
698aca8656
commit
3daa7263ad
1 changed files with 9 additions and 0 deletions
|
|
@ -757,6 +757,15 @@ class ExtractBurnin(publish.Extractor):
|
|||
)
|
||||
})
|
||||
|
||||
# burnin source resolution which might be different than on review
|
||||
repre_source_resolution_width = repre.get("source_resolution_width")
|
||||
repre_source_resolution_height = repre.get("source_resolution_height")
|
||||
if repre_source_resolution_width and repre_source_resolution_height:
|
||||
burnin_data.update({
|
||||
"source_resolution_width": repre_source_resolution_width,
|
||||
"source_resolution_height": repre_source_resolution_height
|
||||
})
|
||||
|
||||
def filter_burnins_defs(self, profile, instance):
|
||||
"""Filter outputs by their values from settings.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue