auto-git:
[change] src/document/scene-document-validation.ts [change] src/runtime-three/runtime-host.ts
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user