|
@@ -47,7 +47,7 @@ function Mesh( geometry, material ) {
|
|
this.type = 'Mesh';
|
|
this.type = 'Mesh';
|
|
|
|
|
|
this.geometry = geometry !== undefined ? geometry : new BufferGeometry();
|
|
this.geometry = geometry !== undefined ? geometry : new BufferGeometry();
|
|
- this.material = material !== undefined ? material : new MeshBasicMaterial( { color: Math.random() * 0xffffff } );
|
|
|
|
|
|
+ this.material = material !== undefined ? material : new MeshBasicMaterial();
|
|
|
|
|
|
this.updateMorphTargets();
|
|
this.updateMorphTargets();
|
|
|
|
|