auto-git:

[change] src/document/scene-document-validation.ts
 [change] src/runtime-three/runtime-host.ts
This commit is contained in:
2026-04-22 14:01:25 +02:00
parent c95e4e6288
commit da6eb2d116
2 changed files with 22 additions and 0 deletions

View File

@@ -302,6 +302,17 @@ function validateWorldSettings(
);
}
if (!isBoolean(world.showCelestialBodies)) {
diagnostics.push(
createDiagnostic(
"error",
"invalid-world-show-celestial-bodies",
"Scene world celestial body toggle must be true or false.",
"world.showCelestialBodies"
)
);
}
validateWorldBackgroundSettings(
world.background,
document,