diff --git a/src/svg/SVGExport.js b/src/svg/SVGExport.js index 65250064..cb743949 100644 --- a/src/svg/SVGExport.js +++ b/src/svg/SVGExport.js @@ -212,9 +212,8 @@ new function() { if (!gradientNode) { var gradient = color.getGradient(), radial = gradient._radial, - matrix = item._gradientMatrix, - origin = color.getOrigin().transform(matrix), - destination = color.getDestination().transform(matrix), + origin = color.getOrigin().transform(), + destination = color.getDestination().transform(), attrs; if (radial) { attrs = { @@ -224,7 +223,7 @@ new function() { }; var highlight = color.getHighlight(); if (highlight) { - highlight = highlight.transform(matrix); + highlight = highlight.transform(); attrs.fx = highlight.x; attrs.fy = highlight.y; } @@ -321,7 +320,6 @@ new function() { if (item._visibility != null && !item._visibility) attrs.visibility = 'hidden'; - delete item._gradientMatrix; // see exportPath() return setAttributes(node, attrs); }