auto-git:

[change] src/app/App.tsx
 [change] src/document/migrate-scene-document.ts
This commit is contained in:
2026-04-27 15:43:03 +02:00
parent 5a6e9ba792
commit 1c762715a4
2 changed files with 5 additions and 4 deletions

View File

@@ -14176,8 +14176,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
isActive={activePanelId === panelId}
world={editorState.document.world}
sceneDocument={editorState.document}
editorSimulationScene={editorSimulationScene}
editorSimulationClock={editorSimulationClock}
editorSimulationController={editorSimulationController}
projectAssets={editorState.document.assets}
loadedModelAssets={loadedModelAssets}
loadedImageAssets={loadedImageAssets}
@@ -14709,13 +14708,13 @@ export function App({ store, initialStatusMessage }: AppProps) {
)}
</div>
<div className="material-summary">
{editorSimulationClockOverride === null
{!editorSimulationOverrideActive
? "The editor viewport follows the authored project start day and time."
: editorSimulationPlaying
? "The editor viewport is running on an overridden clock."
: "The editor viewport is paused on an overridden clock."}
</div>
{editorSimulationClockOverride === null ? null : (
{!editorSimulationOverrideActive ? null : (
<div className="material-summary">
Authored start: Day{" "}
{editorState.projectDocument.time.startDayNumber} ·{" "}

View File

@@ -193,6 +193,7 @@ import {
PLAYER_START_INTERACTION_REACH_SCENE_DOCUMENT_VERSION,
PLAYER_START_INTERACTION_ANGLE_SCENE_DOCUMENT_VERSION,
PLAYER_START_GAMEPAD_CAMERA_LOOK_SCENE_DOCUMENT_VERSION,
PLAYER_START_INTERACT_BINDINGS_SCENE_DOCUMENT_VERSION,
PLAYER_START_INPUT_BINDINGS_SCENE_DOCUMENT_VERSION,
PLAYER_START_NAVIGATION_MODE_SCENE_DOCUMENT_VERSION,
PLAYER_START_PAUSE_BINDINGS_SCENE_DOCUMENT_VERSION,
@@ -5465,6 +5466,7 @@ export function migrateSceneDocument(source: unknown): SceneDocument {
source.version !== PLAYER_START_AIR_CONTROL_SCENE_DOCUMENT_VERSION &&
source.version !== PLAYER_START_INTERACTION_REACH_SCENE_DOCUMENT_VERSION &&
source.version !== PLAYER_START_INTERACTION_ANGLE_SCENE_DOCUMENT_VERSION &&
source.version !== PLAYER_START_INTERACT_BINDINGS_SCENE_DOCUMENT_VERSION &&
source.version !== PLAYER_START_MOVEMENT_TEMPLATE_SCENE_DOCUMENT_VERSION &&
source.version !== PROJECT_NAME_SCENE_DOCUMENT_VERSION &&
source.version !== STATIC_SIMPLE_MODEL_COLLIDERS_SCENE_DOCUMENT_VERSION &&