|
@@ -136,7 +136,7 @@ class ExtendView extends View {
|
|
|
|
|
|
this.position = this.position.add(t);
|
|
|
|
|
|
- if((!math.closeTo(x, 0, 1e-4) || !math.closeTo(y, 0, 1e-4) || !math.closeTo(z, 0, 1e-4)) && Potree.settings.displayMode != 'showPanos'){
|
|
|
+ if((!math.closeTo(x, 0, 1e-2) || !math.closeTo(y, 0, 1e-2) || !math.closeTo(z, 0, 1e-2)) && Potree.settings.displayMode != 'showPanos'){
|
|
|
this.cancelFlying('pos')
|
|
|
}
|
|
|
|
|
@@ -146,7 +146,7 @@ class ExtendView extends View {
|
|
|
translateWorld (x, y, z) {
|
|
|
super.translateWorld(x, y, z)
|
|
|
|
|
|
- if((!math.closeTo(x, 0, 1e-4) || !math.closeTo(y, 0, 1e-4) || !math.closeTo(z, 0, 1e-4)) && Potree.settings.displayMode != 'showPanos'){
|
|
|
+ if((!math.closeTo(x, 0, 1e-2) || !math.closeTo(y, 0, 1e-2) || !math.closeTo(z, 0, 1e-2)) && Potree.settings.displayMode != 'showPanos'){
|
|
|
this.cancelFlying('pos')
|
|
|
}
|
|
|
|