mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +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"]
|
families = ["workfile"]
|
||||||
|
|
||||||
def process(self, instance):
|
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():
|
for attr, value in data.items():
|
||||||
node_attr = "{}.{}".format(palette, attr)
|
node_attr = "{}.{}".format(palette, attr)
|
||||||
self.log.info(
|
self.log.info(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue