fix point clickable area

This commit is contained in:
Belgacem 2021-01-13 03:29:23 +01:00 committed by Martin Dobias
parent 144e6b183e
commit 3b0bb55f22

View File

@ -133,7 +133,7 @@ void Qgs3DMapToolIdentify::mouseReleaseEvent( QMouseEvent *event )
if ( !symbol )
continue;
double pointSize = symbol->pointSize();
double limitAngle = pointSize / screenSizePx * canvas->cameraController()->camera()->fieldOfView();
double limitAngle = 2 * pointSize / screenSizePx * canvas->cameraController()->camera()->fieldOfView();
// adjust ray to elevation properties
QgsPointCloudLayerElevationProperties *elevationProps = dynamic_cast<QgsPointCloudLayerElevationProperties *>( layer->elevationProperties() );