feat: user

fix: init datablock error
refactor: property outliner paner
This commit is contained in:
Swann Martinez
2019-08-08 17:17:58 +02:00
parent ea72ab36ce
commit 8b23d2bc09
5 changed files with 66 additions and 16 deletions

View File

@ -81,6 +81,15 @@ def get_client_2d(coords):
else:
return (0, 0)
class User():
def __init__(self, username=None, color=(0,0,0,1)):
self.name = username
self.color = color
self.location = (0,0,0)
self.active_object = ""
class DrawFactory(object):