mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Renamed new variable to hasExplicitFrames
This commit is contained in:
parent
07674c3040
commit
ab3fdea704
2 changed files with 2 additions and 2 deletions
|
|
@ -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"):
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue