Do not insert boolean operation clones into DOM.

This commit is contained in:
Jürg Lehni 2013-07-19 18:46:28 -07:00
parent 6af59f7adf
commit 93c90d0cd8

View file

@ -101,8 +101,8 @@ PathItem.inject(new function() {
// We do not modify the operands themselves
// The result might not belong to the same type
// i.e. subtraction(A:Path, B:Path):CompoundPath etc.
path1 = reorientPath(path1.clone());
path2 = reorientPath(path2.clone());
path1 = reorientPath(path1.clone(false));
path2 = reorientPath(path2.clone(false));
var path1Clockwise = path1.isClockwise(),
path2Clockwise = path2.isClockwise(),
// Calculate all the intersections