diff --git a/src/svg/SVGExport.js b/src/svg/SVGExport.js index d0fee4e4..d4d6815c 100644 --- a/src/svg/SVGExport.js +++ b/src/svg/SVGExport.js @@ -125,7 +125,7 @@ new function() { attrs = getTransform(item._matrix); if (segments.length === 0) return null; - if (matchShapes && !item.isPolygon()) { + if (matchShapes && item.isPolygon()) { if (segments.length >= 3) { type = item._closed ? 'polygon' : 'polyline'; var parts = [];