mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix
When there is no xgenAttributes
This commit is contained in:
parent
3d06edba68
commit
9f749edd8a
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ class ResetXgenAttributes(pyblish.api.InstancePlugin):
|
|||
families = ["workfile"]
|
||||
|
||||
def process(self, instance):
|
||||
for palette, data in instance.data.get("xgenAttributes", []).items():
|
||||
for palette, data in instance.data.get("xgenAttributes", {}).items():
|
||||
for attr, value in data.items():
|
||||
node_attr = "{}.{}".format(palette, attr)
|
||||
self.log.info(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue