Skip to content

Commit 6f7f81d

Browse files
committed
Incorrect material type being returned in MeshDepthMaterial. Fixes mrdoob#3186.
1 parent 98a8973 commit 6f7f81d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/materials/MeshDepthMaterial.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ THREE.MeshDepthMaterial.prototype = Object.create( THREE.Material.prototype );
2929

3030
THREE.MeshDepthMaterial.prototype.clone = function () {
3131

32-
var material = new THREE.LineBasicMaterial();
32+
var material = new THREE.MeshDepthMaterial();
3333

3434
THREE.Material.prototype.clone.call( this, material );
3535

0 commit comments

Comments
 (0)