|
@@ -2107,7 +2107,7 @@ class SVGLoader extends Loader {
|
|
simplePaths = simplePaths.filter( sp => sp.points.length > 1 );
|
|
simplePaths = simplePaths.filter( sp => sp.points.length > 1 );
|
|
|
|
|
|
// check if path is solid or a hole
|
|
// check if path is solid or a hole
|
|
- const isAHole = simplePaths.map( p => isHoleTo( p, simplePaths, scanlineMinX, scanlineMaxX, shapePath.userData.style.fillRule ) );
|
|
|
|
|
|
+ const isAHole = simplePaths.map( p => isHoleTo( p, simplePaths, scanlineMinX, scanlineMaxX, shapePath.userData?.style.fillRule ) );
|
|
|
|
|
|
|
|
|
|
const shapesToReturn = [];
|
|
const shapesToReturn = [];
|