diff --git a/src/Mod/Draft/importSVG.py b/src/Mod/Draft/importSVG.py index 6f13f23f7..91f4ab91a 100644 --- a/src/Mod/Draft/importSVG.py +++ b/src/Mod/Draft/importSVG.py @@ -451,10 +451,7 @@ class svgHandler(xml.sax.ContentHandler): if name == 'svg': m=FreeCAD.Matrix() if 'width' in data and 'height' in data and \ - 'viewBox' in data and\ - (getsize(attrs.getValue('width'),'isabsolute') and\ - getsize(attrs.getValue('height'),'isabsolute') or\ - len(self.grouptransform)!=0): + 'viewBox' in data: vbw=float(data['viewBox'][2]) vbh=float(data['viewBox'][3]) w=attrs.getValue('width')