mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
If an instance is not set to integrate then skip the validation check against it.
This should fix the issue described [here](https://community.ynput.io/t/houdini-local-render-and-publish-existing-frames-error/2647/7?u=bigroy) where a matching "render instance" is generated for the local rendering spawning off from an initial instance - where the initial instance becomes set to not integrate (integrate=False) but remain available for further validations (publish=True).
This commit is contained in:
parent
f6077eea2d
commit
dce81ba92d
1 changed files with 5 additions and 1 deletions
|
|
@ -34,7 +34,11 @@ class ValidateProductUniqueness(pyblish.api.ContextPlugin):
|
|||
for instance in context:
|
||||
|
||||
# Ignore disabled instances
|
||||
if not instance.data.get('publish', True):
|
||||
if not instance.data.get("publish", True):
|
||||
continue
|
||||
|
||||
# Ignore disabled instances
|
||||
if not instance.data.get("integrate", True):
|
||||
continue
|
||||
|
||||
# Ignore instance without folder data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue