diff --git a/src/clipper.js b/library/clipper.js similarity index 99% rename from src/clipper.js rename to library/clipper.js index 22aa676..5fb0652 100755 --- a/src/clipper.js +++ b/library/clipper.js @@ -3100,7 +3100,7 @@ if (this.m_ExecuteLocked) return false; if (this.m_HasOpenPaths) - ClipperLib.Error("Error: PolyTree struct is need for open path clipping."); + //ClipperLib.Error("Error: PolyTree struct is need for open path clipping."); this.m_ExecuteLocked = true; ClipperLib.Clear(solution); this.m_SubjFillType = subjFillType; diff --git a/slice_test.html b/slice_test.html index 4d31074..a24c935 100644 --- a/slice_test.html +++ b/slice_test.html @@ -6,6 +6,7 @@ + @@ -24,25 +25,41 @@ canvas {border: 1px solid black;}