🐶 fix hound

This commit is contained in:
Ondřej Samohel 2023-10-03 16:40:54 +02:00 committed by GitHub
parent 56aa22af17
commit 1f265f064a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,10 @@ class ValidatePluginPathAttributes(pyblish.api.InstancePlugin):
# Consider only valid node types to avoid "Unknown object type" warning
all_node_types = set(cmds.allNodeTypes())
node_types = [key for key in file_attrs.keys() if key in all_node_types]
node_types = [
key for key in file_attrs.keys()
if key in all_node_types
]
for node, node_type in pairwise(cmds.ls(type=node_types,
showType=True)):