-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix geometry simplification for rendering altering feature geometry
I noticed this when using memory layers - zooming out and then in would result in the features getting more and more generalised. Possibly it would affect other areas of the codebase too. The geometry simplifier was unhelpfully casting away the const from the pointer to the geometry's wkb, and was happily overwriting the wkb for its own purposes. With QgsGeometry now implicitly sharing this wkb pointer the non-const cast meant that the geometry was not getting correctly detached and the original geometry was being modified. (cherry-picked from f00c52d)
- Loading branch information
1 parent
3865ccd
commit 5d3382a
Showing
2 changed files
with
21 additions
and
17 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
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