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