未验证 提交 0c6c0050 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #13560 from Mugen87/dev4

ExtrudeGeometry: Remove options material and extrudeMaterial
......@@ -159,8 +159,6 @@
var extrudeSettings = {
amount: 20,
steps: 1,
material: 1,
extrudeMaterial: 0,
bevelEnabled: true,
bevelThickness : 2,
bevelSize: 4,
......
......@@ -373,10 +373,7 @@
bevelThickness: bevelThickness,
bevelSize: bevelSize,
bevelEnabled: bevelEnabled,
material: 0,
extrudeMaterial: 1
bevelEnabled: bevelEnabled
});
......
......@@ -213,10 +213,7 @@
bevelThickness: bevelThickness,
bevelSize: bevelSize,
bevelEnabled: true,
material: 0,
extrudeMaterial: 1
bevelEnabled: true
});
......
......@@ -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 );
}
......@@ -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 );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册