feat: added push
This commit is contained in:
+1
-1
Submodule libs/replication updated: 9c2dfd0dce...1f09d19467
@@ -91,6 +91,7 @@ def init_supported_datablocks(supported_types_id):
|
||||
add_datablock(item)
|
||||
|
||||
|
||||
|
||||
# def default_tick():
|
||||
# upload_client_instance_position()
|
||||
|
||||
@@ -169,6 +170,7 @@ class SessionStartOperator(bpy.types.Operator):
|
||||
color=list(settings.client_color),
|
||||
)
|
||||
client.add(usr)
|
||||
client.push()
|
||||
|
||||
# settings.is_running = True
|
||||
# bpy.ops.session.refresh()
|
||||
|
||||
@@ -198,9 +198,16 @@ class SESSION_PT_outliner(bpy.types.Panel):
|
||||
for item in sorted(client_keys, key=get_client_key):
|
||||
area_msg = col.row(align = True)
|
||||
item_box = area_msg.box()
|
||||
name = "None"
|
||||
#TODO: refactor that...
|
||||
if hasattr(item.pointer,'name'):
|
||||
name = item.pointer.name
|
||||
else:
|
||||
name = item.buffer['name']
|
||||
|
||||
detail_item_box = item_box.row()
|
||||
detail_item_box.label(text="",icon=item.icon)
|
||||
detail_item_box.label(text="{} ".format(item.pointer.name))
|
||||
detail_item_box.label(text="{} ".format(name))
|
||||
detail_item_box.label(text="{} ".format(item.owner))
|
||||
detail_item_box.label(text="{} ".format(PROP_STATES[item.state]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user