Allow output node to be not collected, then correctly show error

This commit is contained in:
Roy Nieterau 2023-04-07 18:11:35 +02:00
parent 13b72fa57c
commit 97f13a169b

View file

@ -67,7 +67,7 @@ class ValidateVDBOutputNode(pyblish.api.InstancePlugin):
@classmethod
def get_invalid(cls, instance):
node = instance.data["output_node"]
node = instance.data.get("output_node")
if node is None:
cls.log.error(
"SOP path is not correctly set on "