提交 7bc563e0 编写于 作者: D dimarudol 提交者: Mr.doob

copy material index of groups in BufferGeometry copy()

上级 27f28b88
......@@ -1003,7 +1003,7 @@ THREE.BufferGeometry.prototype = {
for ( var i = 0, l = groups.length; i < l; i ++ ) {
var group = groups[ i ];
this.addGroup( group.start, group.count );
this.addGroup( group.start, group.count, group.materialIndex );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册