Skip to content

Commit

Permalink
SVGLoader: Make createShapes() usable for other modules. (mrdoob#24293)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored and snagy committed Sep 21, 2022
1 parent 666205f commit a8a3222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/loaders/SVGLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,7 @@ class SVGLoader extends Loader {
simplePaths = simplePaths.filter( sp => sp.points.length > 1 );

// 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 = [];
Expand Down

0 comments on commit a8a3222

Please sign in to comment.