mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #285 from tokejepsen/2.x/bugfix/validate_scene_settings
Harmony scene validation needs to start at 1.
This commit is contained in:
commit
274eb040fb
1 changed files with 6 additions and 0 deletions
|
|
@ -31,6 +31,12 @@ class ValidateSceneSettings(pyblish.api.InstancePlugin):
|
|||
def process(self, instance):
|
||||
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()
|
||||
{
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue