Skip to content

Commit

Permalink
fix point clickable area
Browse files Browse the repository at this point in the history
  • Loading branch information
NEDJIMAbelgacem authored and wonder-sk committed Jan 13, 2021
1 parent 144e6b1 commit 3b0bb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/3d/qgs3dmaptoolidentify.cpp
Expand Up @@ -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() );
Expand Down

0 comments on commit 3b0bb55

Please sign in to comment.