提交 64302567 编写于 作者: G gero3

update clone MeshFaceMaterial

上级 ddef07a1
......@@ -9,7 +9,10 @@ THREE.MeshFaceMaterial = function ( materials ) {
};
THREE.MeshFaceMaterial.prototype.clone = function () {
return new THREE.MeshFaceMaterial();
//TODO do we need to clone the materials in the array also??
var material = new THREE.MeshFaceMaterial();
material.materials = this.materials;
return material;
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册