Merge pull request #976 from iconexperience/patch-2

Fix #974 - Keep empty clip mask in SVG export
This commit is contained in:
Jürg Lehni 2016-02-16 00:01:36 +01:00
commit 7f48486163

View file

@ -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) {