mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -05:00
Fix accidental code removal.
This commit is contained in:
parent
2241329321
commit
4bda878f5f
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ new function() {
|
|||
if (childNode.nodeType == 1 && (child = importSVG(childNode))) {
|
||||
// When adding CompoundPaths to other CompoundPaths,
|
||||
// we need to "unbox" them first:
|
||||
if (child instanceof CompoundPath) {
|
||||
if (clip && child instanceof CompoundPath) {
|
||||
children.push.apply(children, child.removeChildren());
|
||||
child.remove();
|
||||
} else if (!(child instanceof Symbol)) {
|
||||
|
|
Loading…
Reference in a new issue