Nuke: fixing proxy mode validator

This commit is contained in:
Jakub Jezek 2022-05-27 17:29:21 +02:00
parent 1686eaeada
commit e71653fb16
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -31,7 +31,7 @@ class ValidateProxyMode(pyblish.api.ContextPlugin):
rootNode = nuke.root()
isProxy = rootNode["proxy"].value()
if not isProxy:
if isProxy:
raise PublishXmlValidationError(
self, "Proxy mode should be toggled OFF"
)