refactor(scenes): director flights use the globe engine

Scene flights, authored placement, flight cancellation and arrival
ownership run on the engine the composition hands the director (or the
one registered for its viewer). Tracking, interactions and data packs keep
the viewer until phase 1c.
This commit is contained in:
German Khokhlov committed 2026-10-15 19:47:51 +04:00
1 parent ec38e6ef16
commit 0b9deddd70
3 files changed
+29 -10

No files matched your search

+1
View File
@@ -32,6 +32,7 @@ export function createApplicationTools({
const { styleManager, weatherEffects, cockpitCloudEffects } = controls;
const { dataManager } = data;
const sceneDirector = new SceneDirector(viewer, styleManager, dataManager, {
engine,
dataPacks: sceneDataPacks,
isMapStackAvailable: (id) =>
mapStackController?.isStackAvailable(id) === true,