mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
introduce a condition to exclude the unneccessary node attributes during collecting looks
This commit is contained in:
parent
39975a7335
commit
2a0e377ff4
1 changed files with 5 additions and 1 deletions
|
|
@ -551,7 +551,11 @@ class CollectLook(pyblish.api.InstancePlugin):
|
|||
if cmds.getAttr(attribute, type=True) == "message":
|
||||
continue
|
||||
node_attributes[attr] = cmds.getAttr(attribute)
|
||||
|
||||
|
||||
# Only include if there are any properties we care about
|
||||
if not node_attributes:
|
||||
continue
|
||||
|
||||
attributes.append({"name": node,
|
||||
"uuid": lib.get_id(node),
|
||||
"attributes": node_attributes})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue