auto-git:

[change] src/app/App.tsx
 [change] src/document/migrate-scene-document.ts
 [change] src/document/scene-document-validation.ts
 [change] src/rendering/world-background-renderer.ts
 [change] src/rendering/world-shader-sky.ts
 [change] tests/domain/scene-document-validation.test.ts
This commit is contained in:
2026-04-25 01:37:00 +02:00
parent a8f89f8007
commit 013c944fc4
7 changed files with 198 additions and 187 deletions

View File

@@ -445,15 +445,14 @@ describe("validateSceneDocument", () => {
target: createCameraRigControlTargetRef(cameraRig.id)
})
});
document.interactionLinks["link-camera-override"] = createControlInteractionLink(
{
document.interactionLinks["link-camera-override"] =
createControlInteractionLink({
id: "link-camera-override",
sourceEntityId: triggerVolume.id,
effect: createActivateCameraRigOverrideControlEffect({
target: createCameraRigControlTargetRef(cameraRig.id)
})
}
);
});
const validation = validateSceneDocument(document);
@@ -1421,7 +1420,8 @@ describe("validateSceneDocument", () => {
document.world.shaderSky.celestial.sunDiscSizeDegrees = 0;
document.world.shaderSky.clouds.coverage = 2;
document.world.shaderSky.aurora.intensity = -1;
document.world.shaderSky.aurora.primaryColorHex = "bad-color" as `#${string}`;
document.world.shaderSky.aurora.primaryColorHex =
"bad-color" as `#${string}`;
document.world.timeOfDay.dawn.background = {
mode: "shader"
} as typeof document.world.timeOfDay.dawn.background;