mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
only first output of extract burnin keep ftrackreview
This commit is contained in:
parent
91b44a2f9f
commit
8ed2b664b4
1 changed files with 8 additions and 0 deletions
|
|
@ -132,10 +132,18 @@ class ExtractBurnin(pype.api.Extractor):
|
|||
filled_anatomy = anatomy.format_all(burnin_data)
|
||||
burnin_data["anatomy"] = filled_anatomy.get_solved()
|
||||
|
||||
first_output = True
|
||||
|
||||
files_to_delete = []
|
||||
for filename_suffix, burnin_def in repre_burnin_defs.items():
|
||||
new_repre = copy.deepcopy(repre)
|
||||
|
||||
# Keep "ftrackreview" tag only on first output
|
||||
if first_output:
|
||||
first_output = False
|
||||
elif "ftrackreview" in new_repre["tags"]:
|
||||
new_repre["tags"].remove("ftrackreview")
|
||||
|
||||
burnin_options = copy.deepcopy(profile_options)
|
||||
burnin_values = copy.deepcopy(profile_burnins)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue