Draft: fix ScaleMultiplier on annotation objects

Object auto create the property when opening an old Draft annotation
.
This commit is contained in:
carlopav
2020-04-29 12:48:18 +02:00
committed by Yorik van Havre
parent 130d8413bf
commit cbeca1b4a6
6 changed files with 62 additions and 41 deletions

View File

@@ -180,6 +180,8 @@ class Label(DraftAnnotation):
obj.TargetPoint = App.Vector(2,-1,0)
obj.CustomText = "Label"
def onDocumentRestored(self, obj):
super(Label, self).onDocumentRestored(obj)
def execute(self,obj):
'''Do something when recompute object'''