Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[API][M] Fix capture M (#44782)
Fixes: - QgsMapSettings ignore m, so it wasn't returned. - QgsMapToolCapture::mapPoint add also M as for the Z value - QgsMapToolDigitizeFeature::cadCanvasReleaseEvent add M and simplify the logic of the method - fix tests: isGeosEqual was used but it doesn't compare Z and M
- Loading branch information
Showing with 45 additions and 50 deletions.
- +4 −2 src/core/qgsmapsettings.cpp
- +12 −5 src/gui/qgsmaptoolcapture.cpp
- +18 −32 src/gui/qgsmaptooldigitizefeature.cpp
- +3 −3 tests/src/app/maptooladdfeatureline/testqgsmaptooladdfeatureline.cpp
- +3 −3 tests/src/app/maptooladdfeatureline/testqgsmaptooladdfeaturelinem.cpp
- +4 −4 tests/src/app/maptooladdfeatureline/testqgsmaptooladdfeaturelinez.cpp
- +1 −1 tests/src/app/maptooladdfeatureline/testqgsmaptooladdfeaturelinezm.cpp