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.
This commit is contained in:
Petr Kalis 2025-02-26 13:11:04 +01:00
parent 85c33580f1
commit 080e86ee6e

View file

@ -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 = [