diff --git a/build/potree/potree.js b/build/potree/potree.js index b1de423f..5d8b4fa4 100644 --- a/build/potree/potree.js +++ b/build/potree/potree.js @@ -10787,7 +10787,7 @@ Potree.Profile = class extends THREE.Object3D{ let box = new THREE.Object3D(); let length = start.clone().setZ(0).distanceTo(end.clone().setZ(0)); - box.scale.set(length, 10, this.width); + box.scale.set(length, 10000, this.width); box.up.set(0, 0, 1); let center = new THREE.Vector3().addVectors(start, end).multiplyScalar(0.5); diff --git a/src/utils/Profile.js b/src/utils/Profile.js index 2cb876e7..bce014ab 100644 --- a/src/utils/Profile.js +++ b/src/utils/Profile.js @@ -53,7 +53,7 @@ Potree.Profile = class extends THREE.Object3D{ let box = new THREE.Object3D(); let length = start.clone().setZ(0).distanceTo(end.clone().setZ(0)); - box.scale.set(length, 10, this.width); + box.scale.set(length, 10000, this.width); box.up.set(0, 0, 1); let center = new THREE.Vector3().addVectors(start, end).multiplyScalar(0.5);