Skip to content

Commit

Permalink
Merge pull request #13560 from Mugen87/dev4
Browse files Browse the repository at this point in the history
ExtrudeGeometry: Remove options material and extrudeMaterial
  • Loading branch information
mrdoob committed Mar 14, 2018
2 parents 490f1c1 + 717964b commit 0c6c005
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
2 changes: 0 additions & 2 deletions examples/webgl_geometry_extrude_shapes.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@
var extrudeSettings = {
amount: 20,
steps: 1,
material: 1,
extrudeMaterial: 0,
bevelEnabled: true,
bevelThickness : 2,
bevelSize: 4,
Expand Down
5 changes: 1 addition & 4 deletions examples/webgl_geometry_text.html
Original file line number Diff line number Diff line change
Expand Up @@ -373,10 +373,7 @@

bevelThickness: bevelThickness,
bevelSize: bevelSize,
bevelEnabled: bevelEnabled,

material: 0,
extrudeMaterial: 1
bevelEnabled: bevelEnabled

});

Expand Down
5 changes: 1 addition & 4 deletions examples/webgl_loader_ttf.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,7 @@

bevelThickness: bevelThickness,
bevelSize: bevelSize,
bevelEnabled: true,

material: 0,
extrudeMaterial: 1
bevelEnabled: true

});

Expand Down
4 changes: 2 additions & 2 deletions src/geometries/ExtrudeGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ ExtrudeBufferGeometry.prototype.addShape = function ( shape, options ) {

}

scope.addGroup( start, verticesArray.length / 3 - start, options.material !== undefined ? options.material : 0 );
scope.addGroup( start, verticesArray.length / 3 - start, 0 );

}

Expand All @@ -639,7 +639,7 @@ ExtrudeBufferGeometry.prototype.addShape = function ( shape, options ) {
}


scope.addGroup( start, verticesArray.length / 3 - start, options.extrudeMaterial !== undefined ? options.extrudeMaterial : 1 );
scope.addGroup( start, verticesArray.length / 3 - start, 1 );


}
Expand Down

0 comments on commit 0c6c005

Please sign in to comment.