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
+4 -1
View File
@@ -1077,6 +1077,7 @@ def test_recorded_blueprint_endpoint_is_small_strict_and_session_scoped(
request=RecordedBlueprintRequest(
application_id="nodedc_mission_core_recorded",
recording_id="recording-001",
blueprint_session_id="a" * 32,
accumulation_seconds=18.5,
show_points=False,
show_trajectory=True,
@@ -1098,11 +1099,12 @@ def test_recorded_blueprint_endpoint_is_small_strict_and_session_scoped(
assert response.headers["cache-control"] == "no-store"
assert response.headers["x-content-type-options"] == "nosniff"
assert response.body.startswith(b"RRF2")
assert len(response.body) < 100_000
assert len(response.body) < 250_000
assert_no_local_paths(response.headers, repository)
assert len(observed_settings) == 1
assert observed_settings[0].show_points is False
assert observed_settings[0].show_trajectory is True
assert observed_kwargs[0]["blueprint_session_id"] == "a" * 32
assert observed_kwargs[0]["active_view"] == "perception"
assert observed_kwargs[0]["view_reset_generation"] == 1
assert observed_kwargs[0]["unified_perception"] is True
@@ -1127,6 +1129,7 @@ def test_recorded_blueprint_endpoint_is_small_strict_and_session_scoped(
request=RecordedBlueprintRequest(
application_id="nodedc_mission_core_recorded",
recording_id="recording-001",
blueprint_session_id="a" * 32,
accumulation_seconds=12,
show_points=True,
show_trajectory=True,