Skip to content

Commit

Permalink
Merge pull request ynput#2394 from Ellipsanime/CollectLook-fix-getattr
Browse files Browse the repository at this point in the history
[Fix][MAYA] Handle message type attribute within CollectLook
  • Loading branch information
antirotor authored Dec 14, 2021
2 parents bfbd8bd + c78d4d8 commit d74ba7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openpype/hosts/maya/plugins/publish/collect_look.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,8 @@ def collect_attributes_changed(self, instance):
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,
Expand Down

0 comments on commit d74ba7f

Please sign in to comment.