Separate flight observations and tracking from the scene renderer

This commit is contained in:
German Khokhlov committed 2026-11-03 02:04:41 +04:00
1 parent 4bd7f97cc4
commit a0e5f04c30
10 files changed
+371 -187

No files matched your search

+2 -2
View File
@@ -29,7 +29,7 @@ export function createCivilFlightLayer({
parts.evidence = createEvidence(context);
parts.testing = createTesting(context);
parts.queries = createQueries(context);
const applySnapshot = createFlightSnapshotRenderer({
parts.snapshots = createFlightSnapshotRenderer({
flightState,
records: flightState.records,
militaryRegistry: services.militaryRegistry,
@@ -45,7 +45,7 @@ export function createCivilFlightLayer({
feed: flightState.feed,
getQuery: (viewer) =>
parts.controller._flightQuery(viewer || flightState._renderer?.view),
applySnapshot,
applySnapshot: (snapshot) => parts.snapshots.applySnapshot(snapshot),
setSourceLabel: (source) => {
layer.source = source;
},