do not zoom on double click while using measurement tools

This commit is contained in:
mschuetz 2015-10-28 16:23:09 +01:00
parent 3fd6a0bffe
commit 8eaff622ae
4 changed files with 5 additions and 2 deletions

View File

@ -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();
}
}

File diff suppressed because one or more lines are too long

View File

@ -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();
}
}

View File

@ -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();
}
}