diff --git a/src/Mod/Draft/importSVG.py b/src/Mod/Draft/importSVG.py index 74ffdcb43d..429d6fdf39 100644 --- a/src/Mod/Draft/importSVG.py +++ b/src/Mod/Draft/importSVG.py @@ -242,6 +242,7 @@ class svgHandler(xml.sax.ContentHandler): self.grouptransform = [] self.lastdim = None + global Part import Part if gui and draftui: