Skip to content

Commit

Permalink
Set limits active as default
Browse files Browse the repository at this point in the history
  • Loading branch information
vej-ananas committed Oct 17, 2024
1 parent 0e94f1c commit 114fb60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/src/viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Object.assign(RequestScheduler.requestsByServer, {
'vectortiles0.geo.admin.ch:443': 18
});

let noLimit = true;
let noLimit = false;

const FOG_FRAGMENT_SHADER_SOURCE = `
float getDistance(sampler2D depthTexture, vec2 texCoords) {
Expand Down Expand Up @@ -101,8 +101,8 @@ export async function setupViewer(container: Element, rethrowRenderErrors: boole
const searchParams = new URLSearchParams(location.search);

const zExaggeration = getExaggeration();
if (searchParams.get('noLimit') === 'false') {
noLimit = false;
if (searchParams.get('noLimit') === 'true') {
noLimit = true;
}

let terrainUrl;
Expand Down

0 comments on commit 114fb60

Please sign in to comment.