🐛 fix getting attribute for multilayer pxr

This commit is contained in:
Ondrej Samohel 2022-05-27 10:33:46 +02:00
parent 4b8e7e1ed0
commit c8a8831f8d
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -571,7 +571,7 @@ class CollectLook(pyblish.api.InstancePlugin):
self.log.debug(" - got {}".format(cmds.nodeType(node)))
attribute = FILE_NODES.get(cmds.nodeType(node))
attribute = get_attributes(FILE_NODES, cmds.nodeType(node))
source = cmds.getAttr("{}.{}".format(
node,
attribute