Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with selection of vertices of locked feature (fixes #21283)
When user was coming with mouse to a vertex of the locked feature from a different feature, it could happen that the vertex would not get picked by vertex tool - this was because snapToEditableLayer() keeps the last snap which would belong to a different feature, but that feature was not allowed (blocking a new snap). The fix makes sure that with a locked feature its matches always win. (cherry picked from commit aec87a0)
- Loading branch information
Showing
1 changed file
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters