fix(viewer): preserve operator camera across AI layers

This commit is contained in:
DCCONSTRUCTIONS
2026-07-23 10:51:18 +03:00
parent a0706fd5d8
commit 3a64f54dea
12 changed files with 425 additions and 109 deletions
@@ -269,6 +269,7 @@ test("recorded blueprint fetch is bounded, strict and sends only display setting
{ applicationId: "nodedc_mission_core_recorded", recordingId: "recording-001" },
{
origin: "http://127.0.0.1:5174",
blueprintSessionId: "a".repeat(32),
activeView: "perception3d",
viewResetGeneration: 1,
perceptionLayers: {
@@ -292,6 +293,7 @@ test("recorded blueprint fetch is bounded, strict and sends only display setting
assert.deepEqual(calls[0].body, {
application_id: "nodedc_mission_core_recorded",
recording_id: "recording-001",
blueprint_session_id: "a".repeat(32),
accumulation_seconds: 24,
show_grid: false,
show_points: true,
@@ -320,7 +322,11 @@ test("recorded blueprint fetch is bounded, strict and sends only display setting
customColor: "#35d7c1",
},
{ applicationId: "nodedc_mission_core_recorded", recordingId: "recording-001" },
{ origin: "http://127.0.0.1:5174", fetcher: async () => new Response(payload) },
{
origin: "http://127.0.0.1:5174",
blueprintSessionId: "a".repeat(32),
fetcher: async () => new Response(payload),
},
),
/Unsafe recorded blueprint request/,
);