Draft: fix ScaleMultiplier on annotation objects
Object auto create the property when opening an old Draft annotation .
This commit is contained in:
committed by
Yorik van Havre
parent
130d8413bf
commit
cbeca1b4a6
@@ -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'''
|
||||
|
||||
Reference in New Issue
Block a user