Skip to content

Commit 2e284c8

Browse files
committedSep 29, 2016
nodetool: use exact intersect when picking features (fixes #15294)
(cherry picked from commit 6b27994)
1 parent 699724a commit 2e284c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/app/nodetool/qgsmaptoolnodetool.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ QgsFeature QgsMapToolNodeTool::getFeatureAtPoint( QgsMapMouseEvent* e )
201201

202202
QgsFeatureRequest request;
203203
request.setFilterRect( QgsRectangle( e->mapPoint().x(), e->mapPoint().y(), e->mapPoint().x(), e->mapPoint().y() ) );
204+
request.setFlags( QgsFeatureRequest::ExactIntersect );
204205
QgsFeatureIterator features = vlayer->getFeatures( request );
205206
features.nextFeature( feature );
206207

0 commit comments

Comments
 (0)
Please sign in to comment.