auto-git:

[change] src/document/scene-document-validation.ts
This commit is contained in:
2026-04-22 15:16:11 +02:00
parent fe1d7e939f
commit 1d2a6804a4

View File

@@ -549,6 +549,11 @@ function validateWorldSettings(
"world.background",
"world-background"
);
validateWorldShaderSkySettings(
world.shaderSky,
diagnostics,
"world.shaderSky"
);
if (!isHexColorString(world.ambientLight.colorHex)) {
diagnostics.push(
@@ -627,7 +632,10 @@ function validateWorldSettings(
document,
diagnostics,
"world.timeOfDay.night.background",
"night-background"
"night-background",
{
allowShader: false
}
);
if (!isHexColorString(world.timeOfDay.night.ambientColorHex)) {