fix(viewer): preserve operator camera across AI layers
This commit is contained in:
@@ -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/,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user