From 9b79b441cf07711d65eeec62c44fa24561b88fc6 Mon Sep 17 00:00:00 2001 From: Swann Martinez Date: Fri, 11 Oct 2019 16:21:05 +0200 Subject: [PATCH] feat: clean up --- multi_user/bl_types/bl_collection.py | 8 ++++---- multi_user/operators.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/multi_user/bl_types/bl_collection.py b/multi_user/bl_types/bl_collection.py index fbf9383..ba49baf 100644 --- a/multi_user/bl_types/bl_collection.py +++ b/multi_user/bl_types/bl_collection.py @@ -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 diff --git a/multi_user/operators.py b/multi_user/operators.py index abb468e..303f65f 100644 --- a/multi_user/operators.py +++ b/multi_user/operators.py @@ -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: