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:
Roy Nieterau 2025-07-14 12:03:38 +02:00
parent f6077eea2d
commit dce81ba92d

View file

@ -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