mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Drive the launches layer's frame, camera and entities through ports and its rendering part
The replay chase camera and the mission frame pass listen on the frame port, the hover on the camera port's move events. Showing the missions, clearing their entities and reading mission picks move into the launches rendering part, which stays on the Cesium allow-list, so the layer's other files no longer drive Cesium. A replay with no frame loop to move its camera on does not start.
This commit is contained in:
1 parent
9857ff1024
commit
f6c5e6ba10
9 files changed
+245
-181
No files matched your search
@@ -352,7 +352,7 @@ export function createOverlays({ state: layerState, services, parts, source }) {
|
||||
}
|
||||
|
||||
function syncMissionOverlayEntries() {
|
||||
if (!layerState._enabled || !layerState._dataSource?.show) {
|
||||
if (!layerState._enabled || !parts.rendering.missionsShown()) {
|
||||
clearMissionOverlaySources();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user