Skip to content

Commit 58bb79d

Browse files
committed
Fixed using the wrong variable to populate contractedContourVertices
The variable "vertices" could probably use renaming for clarity.
1 parent 4f133bf commit 58bb79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/geometries/ExtrudeGeometry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ class ExtrudeGeometry extends BufferGeometry {
443443

444444
if ( contractedContourVertices.length == 0 ) {
445445

446-
contractedContourVertices.push( ...vertices );
446+
contractedContourVertices.push( ...contour );
447447

448448
}
449449

0 commit comments

Comments
 (0)