From 8ed2b664b47f67d1a8484be35a8650561bec66f8 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Fri, 15 May 2020 10:03:56 +0200 Subject: [PATCH] only first output of extract burnin keep ftrackreview --- pype/plugins/global/publish/extract_burnin.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pype/plugins/global/publish/extract_burnin.py b/pype/plugins/global/publish/extract_burnin.py index f1c1bef2f5..2397912e56 100644 --- a/pype/plugins/global/publish/extract_burnin.py +++ b/pype/plugins/global/publish/extract_burnin.py @@ -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)