From 04f46fa8ffb9d55c1873a021a369548283777e96 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 2 Apr 2026 20:58:35 +0200 Subject: [PATCH] Update import paths for world settings --- src/runtime-three/runtime-host.ts | 2 +- tests/domain/runtime-interaction-system.test.ts | 2 +- tests/domain/world-settings.test.ts | 8 ++++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index 34589c23..3691acae 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -36,7 +36,7 @@ import { areAdvancedRenderingSettingsEqual, cloneAdvancedRenderingSettings, type AdvancedRenderingSettings -} from "../document/scene-document"; +} from "../document/world-settings"; import { FirstPersonNavigationController } from "./first-person-navigation-controller"; import type { FirstPersonTelemetry, NavigationController, RuntimeControllerContext } from "./navigation-controller"; diff --git a/tests/domain/runtime-interaction-system.test.ts b/tests/domain/runtime-interaction-system.test.ts index e5c783e6..8b8ddbc6 100644 --- a/tests/domain/runtime-interaction-system.test.ts +++ b/tests/domain/runtime-interaction-system.test.ts @@ -8,7 +8,7 @@ import { createStopAnimationInteractionLink, createStopSoundInteractionLink } from "../../src/interactions/interaction-links"; -import { createDefaultWorldSettings } from "../../src/document/scene-document"; +import { createDefaultWorldSettings } from "../../src/document/world-settings"; import { RuntimeInteractionSystem } from "../../src/runtime-three/runtime-interaction-system"; import type { RuntimeSceneDefinition } from "../../src/runtime-three/runtime-scene-build"; diff --git a/tests/domain/world-settings.test.ts b/tests/domain/world-settings.test.ts index baceee04..ac5c4d8e 100644 --- a/tests/domain/world-settings.test.ts +++ b/tests/domain/world-settings.test.ts @@ -1,7 +1,11 @@ import { describe, expect, it } from "vitest"; -import { createDefaultWorldSettings } from "../../src/document/scene-document"; -import { areWorldSettingsEqual, changeWorldBackgroundMode, cloneWorldSettings } from "../../src/document/world-settings"; +import { + areWorldSettingsEqual, + changeWorldBackgroundMode, + cloneWorldSettings, + createDefaultWorldSettings +} from "../../src/document/world-settings"; describe("world settings helpers", () => { it("clones world settings without retaining nested references", () => {