fix: client list update

This commit is contained in:
swann 2019-05-22 17:17:09 +02:00
parent cef8a91bf1
commit 1f9b4106d9
No known key found for this signature in database
GPG Key ID: C183114A66D84A20
2 changed files with 7 additions and 6 deletions

View File

@ -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]

View File

@ -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