Merge pull request #260 from tokejepsen/2.x/bugfix/validate_ftrack_attributes

Ignore standalone host.
This commit is contained in:
Milan Kolar 2020-06-16 10:18:53 +02:00 committed by GitHub
commit 735f550419
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,21 @@ class ValidateFtrackAttributes(pyblish.api.InstancePlugin):
order = pype.api.ValidateContentsOrder
families = ["ftrack"]
optional = True
# Ignore standalone host, because it does not have an Ftrack entity
# associated.
hosts = [
"blender",
"fusion",
"harmony",
"houdini",
"maya",
"nuke",
"nukestudio",
"photoshop",
"premiere",
"resolve",
"unreal"
]
def process(self, instance):
context = instance.context