fozmo-3d-preview
Advanced tools
Comparing version 1.0.60 to 1.0.61
@@ -941,2 +941,13 @@ import { EEncryptExt, ENormalExt, ResLoaderManager } from './../manager/ResLoaderManager'; | ||
} | ||
if (this._gui) { | ||
this.container.removeChild(this._gui.domElement); | ||
try { | ||
this._gui.destroy(); | ||
} | ||
catch (error) { | ||
HHConsole.info('dont worry', error); | ||
} | ||
this._gui = null; | ||
} | ||
this.setGUI(); | ||
if (!Utils.isPhone()) { | ||
@@ -1007,2 +1018,3 @@ this._gtaoPass.enabled = this._params.AOEnable; | ||
if (this._gui) { | ||
window.console.log('更新GUI'); | ||
this._gui.updateDisplay(); | ||
@@ -1009,0 +1021,0 @@ } |
{ | ||
"name": "fozmo-3d-preview", | ||
"version": "1.0.60", | ||
"version": "1.0.61", | ||
"description": "风之末 作品预览", | ||
@@ -5,0 +5,0 @@ "main": "lib/Fozmo3DPreview.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
208588
6177