From 31e02669aba3255d502ca22465b95e4ecc785b0d Mon Sep 17 00:00:00 2001 From: aardschok Date: Mon, 7 Aug 2017 09:45:07 +0200 Subject: [PATCH] fixed dict iteration for attr_value --- colorbleed/maya/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colorbleed/maya/lib.py b/colorbleed/maya/lib.py index 22134c04e5..9469168e79 100644 --- a/colorbleed/maya/lib.py +++ b/colorbleed/maya/lib.py @@ -719,7 +719,7 @@ def apply_attributes(attributes, nodes_by_id): for attr_data in attributes: node = nodes_by_id[attr_data["uuid"]] attr_value = attr_data["attributes"] - for attr, value in attr_value: + for attr, value in attr_value.items(): set_attribute(attr, value, node)