From 080e86ee6eb731281901b69d2cd78fa709d27f21 Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Wed, 26 Feb 2025 13:11:04 +0100 Subject: [PATCH] Do frame recalculation only for not explicit_frames `explicit_frames` denotes that artist wants to render only specific frames. Could be set in Publisher UI. --- client/ayon_core/plugins/publish/integrate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/ayon_core/plugins/publish/integrate.py b/client/ayon_core/plugins/publish/integrate.py index e8fe09bab7..51d6333f27 100644 --- a/client/ayon_core/plugins/publish/integrate.py +++ b/client/ayon_core/plugins/publish/integrate.py @@ -706,7 +706,8 @@ class IntegrateAsset(pyblish.api.InstancePlugin): # In case source are published in place we need to # skip renumbering repre_frame_start = repre.get("frameStart") - if repre_frame_start is not None: + explicit_frames = instance.data.get("explicit_frames", False) + if not explicit_frames and repre_frame_start is not None: index_frame_start = int(repre_frame_start) # Shift destination sequence to the start frame destination_indexes = [