diff --git a/__init__.py b/__init__.py index b59f157..e772827 100644 --- a/__init__.py +++ b/__init__.py @@ -23,13 +23,14 @@ cwd_for_subprocesses = python_path.parent # UTILITY FUNCTIONS def client_list_callback(scene, context): - global client_keys + from . import operators + items = [("Common", "Common", "")] username = bpy.context.window_manager.session.username - if client_keys: - for k in client_keys: + if operators.client_keys: + for k in operators.client_keys: if 'Client' in k[0]: name = k[1] diff --git a/operators.py b/operators.py index 5234c37..b29a110 100644 --- a/operators.py +++ b/operators.py @@ -104,8 +104,8 @@ def refresh_session_data(): def default_tick(): - refresh_session_data() - upload_client_instance_position() + # refresh_session_data() + # upload_client_instance_position() return .2 @@ -475,8 +475,8 @@ def depsgraph_update(scene): toogle_update_dirty(ctx, update) else: item = get_datablock_from_update(update,ctx) - #get parent authority + #get parent authority if hasattr(item,"id"): parent_id = ctx.collection.id if ctx.collection.id != 'None' else ctx.scene.id