File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -440,21 +440,18 @@ class ExtrudeGeometry extends BufferGeometry {
440440 }
441441
442442 //When bevelSegments == 0, the modified vert arrays will not have been populated. We do this here.
443- {
444443
445- if ( contractedContourVertices . length == 0 ) {
444+ if ( contractedContourVertices . length == 0 ) {
446445
447- contractedContourVertices . push ( ...vertices ) ;
446+ contractedContourVertices . push ( ...vertices ) ;
448447
449- }
450-
451- if ( expandedHoleVertices . length == 0 ) {
448+ }
452449
453- for ( let h = 0 , hl = numHoles ; h < hl ; h ++ ) {
450+ if ( expandedHoleVertices . length == 0 ) {
454451
455- expandedHoleVertices . push ( holes [ h ] ) ; //triangulateShape expects a Vec2[][], ie. an array of holes, with each hole being a Vec2[]
452+ for ( let h = 0 , hl = numHoles ; h < hl ; h ++ ) {
456453
457- }
454+ expandedHoleVertices . push ( holes [ h ] ) ; //triangulateShape expects a Vec2[][], ie. an array of holes, with each hole being a Vec2[]
458455
459456 }
460457
You can’t perform that action at this time.
0 commit comments