bx-1316-refactoring #14

Merged
ksenia_mikhailova merged 46 commits from bx-1316-refactoring into dev 2024-08-28 15:06:52 +03:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit a5cf04a559 - Show all commits

View File

@ -58,7 +58,7 @@ const loadModels = async () => {
const res = await fetch(`${SERVER_URL}/api/obj/scene/${props.source}`) const res = await fetch(`${SERVER_URL}/api/obj/scene/${props.source}`)
const raw_data = await res.json() as scene3D const raw_data = await res.json() as scene3D
envVars.focus = raw_data.max_distance * 0.75 envVars.focus = raw_data.max_distance * 0.5
if (raw_data.env) { if (raw_data.env) {
Object.assign(envVars, raw_data.env) Object.assign(envVars, raw_data.env)
} else { } else {