Update PointCloudOctree.js

Change default value and getting rid of overwriting `pickWindowSize` value for `PointCloudOctree.js`
This commit is contained in:
bmichalowski 2020-12-04 09:49:55 +01:00 committed by GitHub
parent 302cab5406
commit d3feafa60b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -756,11 +756,9 @@ export class PointCloudOctree extends PointCloudTree {
let getVal = (a, b) => a !== undefined ? a : b;
let pickWindowSize = getVal(params.pickWindowSize, 17);
let pickWindowSize = getVal(params.pickWindowSize, 65);
let pickOutsideClipRegion = getVal(params.pickOutsideClipRegion, false);
pickWindowSize = 65;
let size = renderer.getSize(new THREE.Vector2());
let width = Math.ceil(getVal(params.width, size.width));