fix: material loading

This commit is contained in:
Swann Martinez
2019-05-10 17:00:47 +02:00
parent 40b9b02590
commit d717e01f3f
5 changed files with 58 additions and 53 deletions

View File

@ -122,7 +122,7 @@ class DrawFactory(object):
def draw_client_selected_objects(self, client):
if client:
name = client['id']
local_username = bpy.context.scene.session_settings.username
local_username = bpy.context.window_manager.session_settings.username
if name != local_username:
if client['active_objects']:
@ -165,7 +165,7 @@ class DrawFactory(object):
def draw_client(self, client):
if client:
name = client['id']
local_username = bpy.context.scene.session_settings.username
local_username = bpy.context.window_manager.session_settings.username
if name != local_username:
try: