mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Carry the Nepal event images, playback and media across globes
This commit is contained in:
1 parent
811bcaff85
commit
4e09559337
19 files changed
+426
-84
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user