From f8c05c7c4f74372da0bd013572b553ffa7b2053f Mon Sep 17 00:00:00 2001 From: wikoreman Date: Fri, 21 Sep 2018 17:09:19 +0200 Subject: [PATCH] fixed bug with None being passed as value --- colorbleed/plugins/maya/load/load_yeti_cache.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/colorbleed/plugins/maya/load/load_yeti_cache.py b/colorbleed/plugins/maya/load/load_yeti_cache.py index c3a3cdfefe..5a1e404975 100644 --- a/colorbleed/plugins/maya/load/load_yeti_cache.py +++ b/colorbleed/plugins/maya/load/load_yeti_cache.py @@ -284,6 +284,8 @@ class YetiCacheLoader(api.Loader): # Apply attributes to pgYetiMaya node for attr, value in attributes.items(): + if value is None: + continue lib.set_attribute(attr, value, yeti_node) # Fix for : YETI-6