A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.
JavaScript 3d-globecesiumflight-trackinggeospatialgeospatial-intelligencegisosintphotogrammetrysatellite-trackingspatial-intelligencewebglworldview
build: declare scene policy ownership in the director export
Sameh Khamised172009e6fc
diff --git a/scripts/package-boundaries.json b/scripts/package-boundaries.jsonindex ae0c7c6a2..db1021966 100644--- a/scripts/package-boundaries.json+++ b/scripts/package-boundaries.json@@ -561,7 +561,8 @@"src/app/stateChannel.js","src/ui/scenes.js","src/ui/sceneControls.js",- "src/ui/scenePresentation.js"+ "src/ui/scenePresentation.js",+ "src/contextModePolicy.js"],"external": ["cesium"]}diff --git a/src/scenes/director.js b/src/scenes/director.jsindex c4b3d854b..d56a82e41 100644--- a/src/scenes/director.js+++ b/src/scenes/director.js@@ -394,10 +394,6 @@ export class SceneDirector {} catch { /* toast is best-effort */ }}- /**- * Wire up all scene-panel DOM event listeners and render the initial UI state.- * Exits silently if the scene-select element is missing (headless/test mode).- *//** Immutable playback snapshots and completed editing actions. */subscribe(listener, options) { return this._state.subscribe(listener, options); }@@ -408,6 +404,10 @@ export class SceneDirector {this._publish({ type, sceneId: scene.id, sceneTitle: scene.title, shot, index });}+ /**+ * Wire up all scene-panel DOM event listeners and render the initial UI state.+ * Exits silently if the scene-select element is missing (headless/test mode).+ */_initUI() {this._controls = new SceneControls({subscribe: (listener) => this.subscribe(listener),