1.修复弃用旧特性的代码;
This commit is contained in:
parent
470d2b2b11
commit
7a861756c6
|
@ -86,7 +86,7 @@ export default class SkyBoxOnGround {
|
|||
* @type {Boolean}
|
||||
* @default true
|
||||
*/
|
||||
this.show = defaultValue(options.show, true);
|
||||
this.show = options.show ?? true;
|
||||
|
||||
this._command = new DrawCommand({
|
||||
modelMatrix: Matrix4.clone(Matrix4.IDENTITY),
|
||||
|
|
Loading…
Reference in New Issue