Skip to content

Commit

Permalink
Merge pull request paperjs#976 from iconexperience/patch-2
Browse files Browse the repository at this point in the history
Fix paperjs#974 - Keep empty clip mask in SVG export
  • Loading branch information
lehni committed Feb 15, 2016
2 parents c35814f + b5b1aa5 commit 7f48486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svg/SvgExport.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ new function() {
var segments = item._segments,
type,
attrs = getTransform(item._matrix);
if (segments.length === 0)
if (segments.length === 0 && !item.isClipMask())
return null;
if (matchShapes && !item.hasHandles()) {
if (segments.length >= 3) {
Expand Down

0 comments on commit 7f48486

Please sign in to comment.