Fixes to docs (#5440)

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* clenaup

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-02-20 12:49:27 -08:00
committed by GitHub
parent 21efb2c0bd
commit fd07b8cff5
28 changed files with 213 additions and 64 deletions

View File

@ -1525,9 +1525,9 @@ export class EngineCommandManager extends EventTarget {
return
}
const additionalSettings = this.settings.enableSSAO
? '&post_effect=ssao'
: ''
let additionalSettings = this.settings.enableSSAO ? '&post_effect=ssao' : ''
additionalSettings +=
'&show_grid=' + (this.settings.showScaleGrid ? 'true' : 'false')
const pool = !this.settings.pool ? '' : `&pool=${this.settings.pool}`
const url = `${VITE_KC_API_WS_MODELING_URL}?video_res_width=${width}&video_res_height=${height}${additionalSettings}${pool}`
this.engineConnection = new EngineConnection({