mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-22 00:14:55 -05:00
fix point clickable area
This commit is contained in:
parent
144e6b183e
commit
3b0bb55f22
@ -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() );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user