do not zoom on double click while using measurement tools
This commit is contained in:
parent
3fd6a0bffe
commit
8eaff622ae
@ -7156,6 +7156,7 @@ Potree.MeasuringTool = function(scene, camera, renderer){
|
||||
if(scope.activeMeasurement && state === STATE.INSERT){
|
||||
scope.activeMeasurement.removeMarker(scope.activeMeasurement.points.length-1);
|
||||
scope.finishInsertion();
|
||||
event.stopImmediatePropagation();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
4
build/js/potree.min.js
vendored
4
build/js/potree.min.js
vendored
File diff suppressed because one or more lines are too long
@ -474,6 +474,7 @@ Potree.MeasuringTool = function(scene, camera, renderer){
|
||||
if(scope.activeMeasurement && state === STATE.INSERT){
|
||||
scope.activeMeasurement.removeMarker(scope.activeMeasurement.points.length-1);
|
||||
scope.finishInsertion();
|
||||
event.stopImmediatePropagation();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -494,6 +494,7 @@ Potree.ProfileTool = function(scene, camera, renderer){
|
||||
if(scope.activeProfile && state === STATE.INSERT){
|
||||
scope.activeProfile.removeMarker(scope.activeProfile.points.length-1);
|
||||
scope.finishInsertion();
|
||||
event.stopImmediatePropagation();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user