Renamed new variable to hasExplicitFrames

This commit is contained in:
Petr Kalis 2025-02-27 13:17:02 +01:00
parent 07674c3040
commit ab3fdea704
2 changed files with 2 additions and 2 deletions

View file

@ -248,7 +248,7 @@ def create_skeleton_instance(
# map inputVersions `ObjectId` -> `str` so json supports it # map inputVersions `ObjectId` -> `str` so json supports it
"inputVersions": list(map(str, data.get("inputVersions", []))), "inputVersions": list(map(str, data.get("inputVersions", []))),
"colorspace": data.get("colorspace"), "colorspace": data.get("colorspace"),
"explicit_frames": data.get("explicit_frames") "hasExplicitFrames": data.get("hasExplicitFrames")
} }
if data.get("renderlayer"): if data.get("renderlayer"):

View file

@ -706,7 +706,7 @@ class IntegrateAsset(pyblish.api.InstancePlugin):
# In case source are published in place we need to # In case source are published in place we need to
# skip renumbering # skip renumbering
repre_frame_start = repre.get("frameStart") repre_frame_start = repre.get("frameStart")
explicit_frames = instance.data.get("explicit_frames", False) explicit_frames = instance.data.get("hasExplicitFrames", False)
if not explicit_frames and repre_frame_start is not None: if not explicit_frames and repre_frame_start is not None:
index_frame_start = int(repre_frame_start) index_frame_start = int(repre_frame_start)
# Shift destination sequence to the start frame # Shift destination sequence to the start frame