mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #2394 from Ellipsanime/CollectLook-fix-getattr
[Fix][MAYA] Handle message type attribute within CollectLook
This commit is contained in:
commit
d74ba7f49e
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue