Draft: Annotation editor

This commit is contained in:
Yorik van Havre
2020-04-22 13:38:17 +02:00
parent 9489776462
commit 5b3fea59e0
6 changed files with 443 additions and 357 deletions

View File

@@ -48,7 +48,10 @@ class DraftAnnotation(object):
def __setstate__(self,state):
if state:
self.Type = state
if isinstance(state,dict) and ("Type" in state):
self.Type = state["Type"]
else:
self.Type = state
def execute(self,obj):