Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Respect z range when identifying point cloud features
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/core/pointcloud/qgspointcloudrenderer.cpp
|
@@ -260,7 +260,7 @@ QVector<QVariantMap> QgsPointCloudRenderer::identify( QgsPointCloudLayer *layer, |
|
|
} |
|
|
} |
|
|
|
|
|
selectedPoints = layer->dataProvider()->identify( maxErrorInMapCoordinates, selectionGeometry ); |
|
|
selectedPoints = layer->dataProvider()->identify( maxErrorInMapCoordinates, selectionGeometry, renderContext.zRange() ); |
|
|
|
|
|
selectedPoints.erase( std::remove_if( selectedPoints.begin(), selectedPoints.end(), [this]( const QMap<QString, QVariant> &point ) { return !this->willRenderPoint( point ); } ), selectedPoints.end() ); |
|
|
|
|
|