Merge pull request #4887 from ynput/bugfix/OP-5764_nuke-slate-workflow-broken-on-deadline

Nuke: fixed broken slate workflow once published on deadline
This commit is contained in:
64qam 2023-04-24 12:51:08 +02:00 committed by GitHub
commit f669e7d453
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View file

@ -49,7 +49,12 @@ class ValidateSequenceFrames(pyblish.api.InstancePlugin):
collection = collections[0]
frames = list(collection.indexes)
if instance.data.get("slate"):
# Slate is not part of the frame range
frames = frames[1:]
current_range = (frames[0], frames[-1])
required_range = (instance.data["frameStart"],
instance.data["frameEnd"])