Merge pull request #2394 from Ellipsanime/CollectLook-fix-getattr

[Fix][MAYA] Handle message type attribute within CollectLook
This commit is contained in:
Ondřej Samohel 2021-12-14 13:49:57 +01:00 committed by GitHub
commit d74ba7f49e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -492,6 +492,8 @@ class CollectLook(pyblish.api.InstancePlugin):
if not cmds.attributeQuery(attr, node=node, exists=True):
continue
attribute = "{}.{}".format(node, attr)
if cmds.getAttr(attribute, type=True) == "message":
continue
node_attributes[attr] = cmds.getAttr(attribute)
attributes.append({"name": node,