From cf8baba16b764b1356aca6ccc8b0910a0f620f32 Mon Sep 17 00:00:00 2001 From: Ivan Liang Date: Fri, 26 Apr 2024 17:32:19 -0400 Subject: [PATCH] Disable location requests (pend openvps discover) --- src/systems/armarker/armarker-reloc.js | 10 +++++----- src/systems/armarker/armarker.js | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/systems/armarker/armarker-reloc.js b/src/systems/armarker/armarker-reloc.js index e359f1dfe..a2943051d 100644 --- a/src/systems/armarker/armarker-reloc.js +++ b/src/systems/armarker/armarker-reloc.js @@ -357,11 +357,11 @@ export default class ARMarkerRelocalization { // do we have detected markers to publish ? if (pubDetList.length > 0 && ARENA) { - if (ARENA.clientCoords === undefined) { - ARENAUtils.getLocation((coords, err) => { - if (!err) ARENA.clientCoords = coords; - }); - } + // if (ARENA.clientCoords === undefined) { + // ARENAUtils.getLocation((coords, err) => { + // if (!err) ARENA.clientCoords = coords; + // }); + // } const jsonMsg = { ...this.DFT_DETECTION_MSG, timestamp, diff --git a/src/systems/armarker/armarker.js b/src/systems/armarker/armarker.js index f73de9edf..bce7dc6a6 100644 --- a/src/systems/armarker/armarker.js +++ b/src/systems/armarker/armarker.js @@ -484,11 +484,11 @@ AFRAME.registerSystem('armarker', { }; } if (!this.ATLASMarkers[markerid]) { - if (ARENA.clientCoords === undefined) { - ARENAUtils.getLocation((coords, err) => { - if (!err) ARENA.clientCoords = coords; - }); - } + // if (ARENA.clientCoords === undefined) { + // ARENAUtils.getLocation((coords, err) => { + // if (!err) ARENA.clientCoords = coords; + // }); + // } // force update from ATLAS if not found // this.getARMArkersFromATLAS(); }