mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Harmony scene validation needs to start at 1.
This commit is contained in:
parent
1c5a396b6f
commit
48085fa8b9
1 changed files with 6 additions and 0 deletions
|
|
@ -31,6 +31,12 @@ class ValidateSceneSettings(pyblish.api.InstancePlugin):
|
||||||
def process(self, instance):
|
def process(self, instance):
|
||||||
expected_settings = pype.hosts.harmony.get_asset_settings()
|
expected_settings = pype.hosts.harmony.get_asset_settings()
|
||||||
|
|
||||||
|
# Harmony is expected to start at 1.
|
||||||
|
frame_start = expected_settings["frameStart"]
|
||||||
|
frame_end = expected_settings["frameEnd"]
|
||||||
|
expected_settings["frameEnd"] = frame_end - frame_start + 1
|
||||||
|
expected_settings["frameStart"] = 1
|
||||||
|
|
||||||
func = """function func()
|
func = """function func()
|
||||||
{
|
{
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue