提交 4c92b9d0 编写于 作者: B barnabygunning

changed material to materialIndex in function f4()

上级 45ec7a73
......@@ -75,7 +75,7 @@ THREE.SubdivisionModifier.prototype.smooth = function ( oldGeometry ) {
// TODO move vertex selection over here!
var newFace = new THREE.Face4( a, b, c, d, null, oldFace.color, oldFace.material );
var newFace = new THREE.Face4( a, b, c, d, null, oldFace.color, oldFace.materialIndex );
if (scope.useOldVertexColors) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册