feat(rcf): added client snap

This commit is contained in:
Swann Martinez
2019-03-14 11:04:41 +01:00
parent 756c3faf67
commit b54e3aaf20
2 changed files with 71 additions and 38 deletions

View File

@ -80,6 +80,9 @@ class SessionUsersPanel(bpy.types.Panel):
info = "(self)"
# detail_item_box = item_box.row()
detail_item_box.label(text="{} {}".format(values.id.decode(),info))
if net_operators.client.id.decode() not in key:
detail_item_box.operator("session.snapview",text="",icon='VIEW_CAMERA').target_client = values.id.decode()
row = layout.row()
else:
row.label(text="Empty")