mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-03 01:14:54 +01:00
Remove redundant code.
This commit is contained in:
parent
fcf1c1ec8a
commit
ee8b230273
1 changed files with 0 additions and 6 deletions
|
|
@ -82,12 +82,6 @@ class CollectAnimationOutputGeometry(pyblish.api.InstancePlugin):
|
|||
user_defined_attributes = set()
|
||||
for node in hierarchy:
|
||||
attrs = cmds.listAttr(node, userDefined=True) or list()
|
||||
shapes = cmds.listRelatives(node, shapes=True) or list()
|
||||
for shape in shapes:
|
||||
attrs.extend(
|
||||
cmds.listAttr(shape, userDefined=True) or list()
|
||||
)
|
||||
|
||||
user_defined_attributes.update(attrs)
|
||||
|
||||
instance.data["userDefinedAttributes"] = list(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue