mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
OP-2049 - fix frame content for sequence starting with 0
Previously expression didn't trigger as repre.get("frameStart") returned 0 which translated into False
This commit is contained in:
parent
06a7f1accb
commit
100ff46421
1 changed files with 1 additions and 1 deletions
|
|
@ -580,7 +580,7 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
|
|||
if repre.get("outputName"):
|
||||
representation["context"]["output"] = repre['outputName']
|
||||
|
||||
if sequence_repre and repre.get("frameStart"):
|
||||
if sequence_repre and repre.get("frameStart") is not None:
|
||||
representation['context']['frame'] = (
|
||||
dst_padding_exp % int(repre.get("frameStart"))
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue