mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 08:42:21 +00:00
Fix the trail and decoded-weather probes on both engines
Both probes called waitForEngine without the engine kind, which can never match and timed out after 120 s; waitForEngine now rejects a missing kind. The trail probe passed no result vectors to the geo helpers, and drew its trail below the ground, where only the dimmed occluded pass showed it; it now draws halfway down to the ground and both engines count the same pixels.
This commit is contained in:
1 parent
1856477e0a
commit
2d0aa25e35
3 files changed
+25
-7
No files matched your search
@@ -17,7 +17,7 @@ try {
|
||||
const url = new URL(base);
|
||||
url.search = `?engine=${kind}&welcome=0`;
|
||||
await page.goto(url.href, { waitUntil: 'domcontentloaded' });
|
||||
await waitForEngine(page);
|
||||
await waitForEngine(page, kind);
|
||||
await evaluateWithGeo(page, (geo) => {
|
||||
window.__godsEyeView.engine.camera.setView({
|
||||
destination: geo.cartesian3.fromDegrees(-79.38, 43.65, 500000),
|
||||
|
||||
Reference in new issue
Block a user