From 5e4138e0ec417dfea02c18c6f48728304dfbb524 Mon Sep 17 00:00:00 2001 From: MustafaJafar Date: Mon, 4 Mar 2024 21:17:43 +0200 Subject: [PATCH] add TODO for Intermediate render files --- .../plugins/publish/collect_files_for_cleaning_up.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/client/ayon_core/hosts/houdini/plugins/publish/collect_files_for_cleaning_up.py b/client/ayon_core/hosts/houdini/plugins/publish/collect_files_for_cleaning_up.py index 3a18ccb87e..f4d9c3acf8 100644 --- a/client/ayon_core/hosts/houdini/plugins/publish/collect_files_for_cleaning_up.py +++ b/client/ayon_core/hosts/houdini/plugins/publish/collect_files_for_cleaning_up.py @@ -66,11 +66,13 @@ class CollectFilesForCleaningUp(pyblish.api.InstancePlugin, # aovs.values() is a list of lists files.extend(sum(aovs.values(), [])) - # Render Intermediate files. - # This doesn't cover all intermediate render products. - # E.g. Karma's USD and checkpoint. - # For some reason it's one file with $F4 evaluated as 0000 - # So, we need to get all the frames. + # Intermediate render files. + # TODO 1:For products with split render enabled, + # We need to calculate all exported frames. as. + # `ifdFile` should be a list of files. + # TODO 2: For products like Karma, + # Karma has more intermediate files + # e.g. USD and checkpoint ifdFile = instance.data.get("ifdFile") if self.include_intermediate_files and ifdFile: files.append(ifdFile)