update viewlayer dumping
parent
ac0ad04c72
commit
b3cd661adc
|
@ -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']
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue