Fix accidental code removal.

This commit is contained in:
Jürg Lehni 2013-06-18 17:35:49 -07:00
parent 2241329321
commit 4bda878f5f

View file

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