diff --git a/addons/io_hubs_addon/components/hubs_component.py b/addons/io_hubs_addon/components/hubs_component.py index 7f68e87a..6ea4a6f7 100644 --- a/addons/io_hubs_addon/components/hubs_component.py +++ b/addons/io_hubs_addon/components/hubs_component.py @@ -123,9 +123,10 @@ def gather(self, export_settings, object): @classmethod def gather_import(cls, gltf, blender_host, component_name, component_value, import_report, blender_ob=None): component = import_component(component_name, blender_host) - for property_name, property_value in component_value.items(): - assign_property(gltf.vnodes, component, - property_name, property_value) + if component_value: + for property_name, property_value in component_value.items(): + assign_property(gltf.vnodes, component, + property_name, property_value) def post_export(self, export_settings, host, ob=None): '''This is called by the exporter after the export process has finished'''