Sample the released-tileset check over open ocean

Under the camera and at 20°E 10°N other contract checks leave meshes and
models; Cesium's scene sample hits them, so the check failed in the full
suite and passed alone. It now samples two places none of them draws at.
This commit is contained in:
German Khokhlov committed 2026-11-11 01:51:34 +04:00
1 parent 69617af7ef
commit c1795c7dc3
1 file changed
+5 -3
+5 -3
View File
@@ -17,10 +17,12 @@ export function photorealChecks(engine, { settle }) {
[
'surface.sampleHeightDetailed: leaving photoreal no longer reports tiles',
async () => {
// Open ocean, away from anything the other checks draw: on Cesium a
// leftover mesh there would answer the sample too.
const places = [
cartographic.fromCartesian(engine.camera.pose().position),
cartographic.fromDegrees(20, 10),
].filter(Boolean);
cartographic.fromDegrees(-150, -55),
cartographic.fromDegrees(-30, -45),
];
await engine.maps.setPhotorealTiles(null);
await settle();
// Cesium labels every scene hit, the globe included, as tiles; what