mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
Harmony fix - collects frameStart, frameEnd for validation too
This commit is contained in:
parent
5a9b46b277
commit
24928981ae
2 changed files with 3 additions and 0 deletions
|
|
@ -25,7 +25,9 @@ class CollectScene(pyblish.api.ContextPlugin):
|
|||
context.data["scenePath"] = os.path.join(
|
||||
result[1], result[2] + ".xstage")
|
||||
context.data["frameRate"] = result[3]
|
||||
context.data["frameStartHandle"] = result[4]
|
||||
context.data["frameStart"] = result[4]
|
||||
context.data["frameEndHandle"] = result[5]
|
||||
context.data["frameEnd"] = result[5]
|
||||
context.data["audioPath"] = result[6]
|
||||
context.data["resolutionWidth"] = result[7]
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ class ValidateSceneSettings(pyblish.api.InstancePlugin):
|
|||
expected_settings.pop("resolutionWidth")
|
||||
expected_settings.pop("resolutionHeight")
|
||||
|
||||
# values on instance.context collected by collect_scene.py
|
||||
current_settings = {
|
||||
"fps": fps,
|
||||
"frameStart": instance.context.data.get("frameStart"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue