Skip to content

Commit

Permalink
fixed point cloud picking precision issue (#2508)
Browse files Browse the repository at this point in the history
Co-authored-by: cognite-bulldozer[bot] <51074376+cognite-bulldozer[bot]@users.noreply.github.com>
  • Loading branch information
pramodcog and cognite-bulldozer[bot] authored Oct 5, 2022
1 parent d91b479 commit 7c5b1f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion viewer/packages/pointclouds/src/PointCloudPickingHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export class PointCloudPickingHandler {
private readonly _raycaster = new THREE.Raycaster();
private readonly _picker: PointCloudOctreePicker;

private static readonly PickingWindowSize = 20;
// To solve https://cognitedata.atlassian.net/browse/REV-523
private static readonly PickingWindowSize = 5;

constructor(renderer: THREE.WebGLRenderer) {
this._picker = new PointCloudOctreePicker(renderer);
Expand Down

0 comments on commit 7c5b1f8

Please sign in to comment.