Browse Source

Merge remote-tracking branch 'gero3/patch-3'

Mr.doob 12 years ago
parent
commit
1299f5fcd4
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/materials/MeshFaceMaterial.js

+ 4 - 2
src/materials/MeshFaceMaterial.js

@@ -9,7 +9,9 @@ THREE.MeshFaceMaterial = function ( materials ) {
 };
 };
 
 
 THREE.MeshFaceMaterial.prototype.clone = function () {
 THREE.MeshFaceMaterial.prototype.clone = function () {
-
-	return new THREE.MeshFaceMaterial();
+	
+	var material = new THREE.MeshFaceMaterial();
+	material.materials = this.materials;
+	return material;
 
 
 };
 };