Add dialogue to build-runtime-scene test case

This commit is contained in:
2026-04-15 10:05:15 +02:00
parent 6d5208e8b5
commit 2bb802f629

View File

@@ -620,10 +620,22 @@ describe("buildRuntimeSceneFromDocument", () => {
y: 0,
z: -2
},
yawDegrees: 45,
modelAssetId: modelAsset.id,
dialogues: [],
defaultDialogueId: null,
yawDegrees: 45,
modelAssetId: modelAsset.id,
dialogues: [
{
id: "dialogue-warning",
title: "Warning",
lines: [
{
id: "dialogue-line-warning-1",
speakerName: "Operator",
text: "The generator is unstable."
}
]
}
],
defaultDialogueId: "dialogue-warning",
activeRoutineTitle: null,
animationClipName: null,
animationLoop: undefined,