mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Merge pull request #976 from iconexperience/patch-2
Fix #974 - Keep empty clip mask in SVG export
This commit is contained in:
commit
7f48486163
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue