diff --git a/core/dumper.py b/core/dumper.py index 31176de..73a3705 100644 --- a/core/dumper.py +++ b/core/dumper.py @@ -121,7 +121,10 @@ class Dumper: # print(cls.pointers) if isinstance(value, int): # It's a pointer + if value not in cls.pointers: + print(bl_object, "not loaded yet", prop) value = cls.pointers[value] + elif value is None: set_attribute(bl_object, key, value) @@ -738,8 +741,7 @@ class CompositorNodeRLayers(Node): class ViewLayer(Dumper): bl_type = bpy.types.ViewLayer excludes = Dumper.excludes + ['freestyle_settings', 'eevee', 'cycles', 'active_layer_collection', - 'active_aov', 'active_lightgroup_index', 'layer_collection', 'lightgroups', 'material_override', - 'objects', 'use'] + 'active_aov', 'active_lightgroup_index', 'active_lightgroup'] #includes = ['name']