feat: ground work to display user current keyframe

Related to #53
This commit is contained in:
Swann Martinez
2020-01-16 17:56:43 +01:00
parent 0cb75af583
commit 65fd73d6c0
2 changed files with 5 additions and 1 deletions

View File

@ -206,13 +206,16 @@ class SESSION_PT_user(bpy.types.Panel):
detail_item_row.label(
text="{} {}".format(username, info))
detail_item_row.label(
text="{}".format(client.get('current_keyframe')))
if not is_local_user:
detail_item_row.operator(
"session.snapview",
text="",
icon='VIEW_CAMERA').target_client = key
row = layout.row()
row = layout.row(align=True)
else:
row.label(text="Empty")