Skip to content

Commit

Permalink
Potree: fix polygon clipping
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Nov 15, 2023
1 parent c4b5972 commit 4a529ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/static/app/js/vendor/potree/build/potree/potree.js
Original file line number Diff line number Diff line change
Expand Up @@ -67903,13 +67903,13 @@ void main() {
this.viewer.scene.removePolygonClipVolume(polyClipVol);
}

this.viewer.renderer.domElement.removeEventListener("mouseup", insertionCallback, true);
this.viewer.renderer.domElement.removeEventListener("mouseup", insertionCallback, false);
this.viewer.removeEventListener("cancel_insertions", cancel.callback);
this.viewer.inputHandler.enabled = true;
};

this.viewer.addEventListener("cancel_insertions", cancel.callback);
this.viewer.renderer.domElement.addEventListener("mouseup", insertionCallback , true);
this.viewer.renderer.domElement.addEventListener("mouseup", insertionCallback , false);
this.viewer.inputHandler.enabled = false;

polyClipVol.addMarker();
Expand Down

0 comments on commit 4a529ba

Please sign in to comment.