Skip to content

Commit

Permalink
Merge pull request #1436 from pierotofy/volimp
Browse files Browse the repository at this point in the history
Fix Potree polygon clipping
  • Loading branch information
pierotofy authored Nov 15, 2023
2 parents e8ae09b + 4a529ba commit 4257108
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 4257108

Please sign in to comment.