mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -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))) {
|
if (childNode.nodeType == 1 && (child = importSVG(childNode))) {
|
||||||
// When adding CompoundPaths to other CompoundPaths,
|
// When adding CompoundPaths to other CompoundPaths,
|
||||||
// we need to "unbox" them first:
|
// we need to "unbox" them first:
|
||||||
if (child instanceof CompoundPath) {
|
if (clip && child instanceof CompoundPath) {
|
||||||
children.push.apply(children, child.removeChildren());
|
children.push.apply(children, child.removeChildren());
|
||||||
child.remove();
|
child.remove();
|
||||||
} else if (!(child instanceof Symbol)) {
|
} else if (!(child instanceof Symbol)) {
|
||||||
|
|
Loading…
Reference in a new issue