提交 9a0d11c7 编写于 作者: M Mr.doob

Object3D: Added renderDepth > renderOrder warning. See #6603.

上级 9cac5798
......@@ -109,6 +109,22 @@ THREE.Object3D.prototype = {
},
get renderDepth () {
console.warn( 'THREE.Object3D: .renderDepth has been renamed to .renderOrder.' );
return this.renderOrder;
},
set renderDepth ( value ) {
console.warn( 'THREE.Object3D: .renderDepth has been renamed to .renderOrder.' );
this.renderOrder = value;
},
applyMatrix: function ( matrix ) {
this.matrix.multiplyMatrices( matrix, this.matrix );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册