feat: clean up
This commit is contained in:
@ -44,16 +44,16 @@ class BlCollection(BlDatablock):
|
||||
# dump objects
|
||||
collection_objects = []
|
||||
for object in pointer.objects:
|
||||
if object not in collection_objects:
|
||||
collection_objects.append(object.uuid)
|
||||
if object not in collection_objects:
|
||||
collection_objects.append(object.uuid)
|
||||
|
||||
data['objects'] = collection_objects
|
||||
|
||||
# dump children collections
|
||||
collection_children = []
|
||||
for child in pointer.children:
|
||||
if child not in collection_children:
|
||||
collection_children.append(child.uuid)
|
||||
if child not in collection_children:
|
||||
collection_children.append(child.uuid)
|
||||
|
||||
data['children'] = collection_children
|
||||
|
||||
|
@ -74,7 +74,7 @@ class SessionStartOperator(bpy.types.Operator):
|
||||
bpy_factory.register_type(
|
||||
_type.bl_class,
|
||||
_type.bl_rep_class,
|
||||
timer=0,#type_local_config.bl_delay_refresh
|
||||
timer=type_local_config.bl_delay_refresh,
|
||||
automatic=type_local_config.auto_push)
|
||||
|
||||
if type_local_config.bl_delay_apply > 0:
|
||||
|
Reference in New Issue
Block a user