Skip to content

Updating plugin keys for vertical transformation#4425

Open
gabriel-bolbotina wants to merge 1 commit intomasterfrom
fix/vertical-crs-keys
Open

Updating plugin keys for vertical transformation#4425
gabriel-bolbotina wants to merge 1 commit intomasterfrom
fix/vertical-crs-keys

Conversation

@gabriel-bolbotina
Copy link
Copy Markdown
Contributor

skipElevationTransformation key is now deprecated in plugin, so the code was modified to support elevationTransformationEnabled.

If skipElevationTransformation was set to false, it means there was vertical transformation enabled, thus elevationTransformationEnabled will then be true and vice versa.

To ensure backwards compatibility, when setting the variable in main, if the reading of the elevationTransformationEnabled key fails, we read the deprecated key.

@gabriel-bolbotina gabriel-bolbotina changed the title Inital code for exchanging the keys Updating plugin keys for vertical transformation Mar 26, 2026
@github-actions
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 23607057818

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 109 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.1%) to 59.775%

Files with Coverage Reduction New Missed Lines %
mm/core/merginuserauth.cpp 9 68.24%
mm/core/merginapi.cpp 13 75.07%
mm/app/main.cpp 87 35.66%
Totals Coverage Status
Change from base Build 23592458465: -0.1%
Covered Lines: 8775
Relevant Lines: 14680

💛 - Coveralls

@github-actions
Copy link
Copy Markdown

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📬 Mergin Maps 65761 dmg Expires: 24/06/2026 #6576
linux Build 📬 Mergin Maps 65871 x86_64 Expires: 24/06/2026 #6587
win64 Build 📬 Mergin Maps 57711 win64 Expires: 24/06/2026 #5771
Android Build 📬 Mergin Maps 788851 APK [arm64-v8a] Expires: 24/06/2026 #7888
📬 Mergin Maps 788851 APK [arm64-v8a] Google Play Store #7888
Android Build 📬 Mergin Maps 788811 APK [armeabi-v7a] Expires: 24/06/2026 #7888
📬 Mergin Maps 788811 APK [armeabi-v7a] Google Play Store #7888
iOS Build 📬 Build number: 26.03.882711 #8827

Copy link
Copy Markdown
Contributor

@Withalion Withalion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a question, why do we want to support both keys? Plugin never got released with the support for this functionality and we just enabled it in few project for very early adopters.

Besides that it looks alright.

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