提交 6f7f81d0 编写于 作者: M Mr.doob

Incorrect material type being returned in MeshDepthMaterial. Fixes #3186.

上级 98a8973e
......@@ -29,7 +29,7 @@ THREE.MeshDepthMaterial.prototype = Object.create( THREE.Material.prototype );
THREE.MeshDepthMaterial.prototype.clone = function () {
var material = new THREE.LineBasicMaterial();
var material = new THREE.MeshDepthMaterial();
THREE.Material.prototype.clone.call( this, material );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册