feat(rcf): clean right managment, user cannot modify others user datablocks

This commit is contained in:
Swann Martinez
2019-04-22 14:24:19 +02:00
parent 33adb26507
commit 70ff0eef54
4 changed files with 88 additions and 46 deletions

6
ui.py
View File

@ -155,7 +155,11 @@ class SessionPropertiesPanel(bpy.types.Panel):
icon="UV_SYNC_SELECT")
if operators.client_keys and len(operators.client_keys) > 0:
for item in operators.client_keys:
owner = item[1].decode()
owner = 'toto'
try:
owner = item[1].decode()
except:
pass
item_box = area_msg.box()
detail_item_box = item_box.row(align = True)