Martin Dobias 64aa400ffc Respect selection in layers in vertex tool (fixes #17782) (#6421)
This fixes issues in situations when there are multiple vertices in one location:

1. when clicking a location, if there are selected features,
   the closest vertex from a selected feature will be used with priority.

2. when dragging a rectangle, if there is a selected feature,
   only vertices from selected features will be used.

If there is selection in any editable layers, but away from the location where
user clicked to pick vertex (or dragged rectangle to pick multiple vertices),
the existing vertex tool behavior is not affected (so it cannot happen that
vertex tool suddenly appears to have stopped working just because there is
selection somewhere possibly outside of the current map view).
2018-02-23 14:33:40 +10:00
..
2018-02-19 22:12:09 +01:00
2018-02-18 20:53:40 +01:00