Draft: better check for Gui object - fixes #17342

This commit is contained in:
Yorik van Havre
2024-10-21 14:29:26 +02:00
committed by Roy-043
parent 3bae98c2e5
commit 68be845a68

View File

@@ -64,6 +64,8 @@ class DraftAnnotation(object):
vobj = obj.ViewObject
if not vobj:
return
if not getattr(vobj, "Proxy", None):
return
if hasattr(vobj, "ScaleMultiplier") and hasattr(vobj, "AnnotationStyle"):
return
self.add_missing_properties_0v19(obj, vobj)