Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rubber band polygon highlight going missing due to coordinate distance fail #4676

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Oct 22, 2023

The rubber band uses scene coordinates, and when buffering it often creates vertices that are closer than what the QGIS tesselator likes, this PR fixes that (which means we don't suffer from highlights going missing when digitizing)

I've also taken the time to change the buffer style to reduce the number of additional vertices, we don't need round microscopic buffers :)

@qfield-fairy
Copy link
Collaborator

@nirvn nirvn merged commit 0f009c9 into master Oct 22, 2023
21 checks passed
@nirvn nirvn deleted the strenghten_rubberband branch October 22, 2023 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants