Carry the Nepal event images, playback and media across globes

This commit is contained in:
German Khokhlov committed 2026-11-03 03:57:18 +04:00
1 parent 811bcaff85
commit 4e09559337
19 files changed
+426 -84

No files matched your search

+1 -2
View File
@@ -234,7 +234,6 @@ const FRAME_TARGETS = new Map([
* refusal (UNAVAILABLE_ON_ENGINE) instead of running.
*/
export const VIEWER_ONLY_ACTIONS = Object.freeze([
'control_scene',
'annotate_map',
'clear_annotations',
'fly_route',
@@ -470,7 +469,7 @@ export function createGevActionRunner({
};
if (
!viewer &&
(VIEWER_ONLY_ACTIONS.includes(name) || CESIUM_LOOK_ACTIONS.includes(name))
((name === 'control_scene' && !sceneDirector) || VIEWER_ONLY_ACTIONS.includes(name) || CESIUM_LOOK_ACTIONS.includes(name))
)
return unavailableOnEngine(name, engine);