|
@@ -58,7 +58,7 @@ class ShapePath {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- toShapes( isCCW, noHoles ) {
|
|
|
|
|
|
+ toShapes( isCCW ) {
|
|
|
|
|
|
function toShapesNoHoles( inSubpaths ) {
|
|
function toShapesNoHoles( inSubpaths ) {
|
|
|
|
|
|
@@ -144,9 +144,6 @@ class ShapePath {
|
|
const subPaths = this.subPaths;
|
|
const subPaths = this.subPaths;
|
|
if ( subPaths.length === 0 ) return [];
|
|
if ( subPaths.length === 0 ) return [];
|
|
|
|
|
|
- if ( noHoles === true ) return toShapesNoHoles( subPaths );
|
|
|
|
-
|
|
|
|
-
|
|
|
|
let solid, tmpPath, tmpShape;
|
|
let solid, tmpPath, tmpShape;
|
|
const shapes = [];
|
|
const shapes = [];
|
|
|
|
|