提交 f3570b9a 编写于 作者: D Daniel Hritzkiv 提交者: GitHub

Formatting

上级 46097b14
......@@ -1047,7 +1047,7 @@ Object.defineProperties( Material.prototype, {
set: function ( value ) {
console.warn( 'THREE.' + this.type + ': .shading has been removed. Use the boolean .flatShading instead.' );
this.flatShading = value === FlatShading;
this.flatShading = ( value === FlatShading );
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册