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