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