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 the "Add ring" map tool / QgsVectorLayerEditUtils::addRingV2 (Fix #59053) #59066

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

agiudiceandrea
Copy link
Member

Description

This PR fixes a regression in the "Add ring" map tool (since QGIS 3.28, #50447), which incorrectly prevents to add a ring to a feature's geometry when the ring's bounding box intersects more then 1 feature's geometry, or when there are more then 1 features selected, and the ring can be added only to a subset of such features in some circumstances.

Fixes #59053.

@github-actions github-actions bot added this to the 3.40.0 milestone Oct 14, 2024
@agiudiceandrea agiudiceandrea added Editing Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality labels Oct 14, 2024
Copy link

github-actions bot commented Oct 14, 2024

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 9c39c5f)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 9c39c5f)

@agiudiceandrea
Copy link
Member Author

agiudiceandrea commented Oct 14, 2024

Not sure why "cppcheck" check failed and if the fail is actually due to changes introduced by this PR.

@lbartoletti
Copy link
Member

Does not seem related to your PR.
Many thanks for the fix!

@lbartoletti lbartoletti merged commit 67d4332 into qgis:master Oct 14, 2024
44 of 45 checks passed
@agiudiceandrea agiudiceandrea deleted the fix-59053-addring branch October 14, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trouble Adding Rings to Polygons in Vector Layers: Works Inconsistently
2 participants