diff --git a/src/svg/SvgImport.js b/src/svg/SvgImport.js index 04a55d04..ecf473f5 100644 --- a/src/svg/SvgImport.js +++ b/src/svg/SvgImport.js @@ -231,7 +231,9 @@ new function() { gradient.type = 'radial'; origin = getPoint(svg, 'cx', 'cy'); destination = origin.add(getValue(svg, 'r'), 0); - highlight = getPoint(svg, 'fx', 'fy', true); + highlight = getPoint(svg, 'fx', 'fy'); + if (highlight.isZero()) + highlight = null; } else { origin = getPoint(svg, 'x1', 'y1'); destination = getPoint(svg, 'x2', 'y2');