Skip to content

Comments

Fix for 60864#61219

Merged
uclaros merged 2 commits intoqgis:masterfrom
JanCaha:fix-60864
Apr 4, 2025
Merged

Fix for 60864#61219
uclaros merged 2 commits intoqgis:masterfrom
JanCaha:fix-60864

Conversation

@JanCaha
Copy link
Contributor

@JanCaha JanCaha commented Mar 27, 2025

Description

Wrong order of operations caused QgsMeshRendererScalarSettings shader to be recalculated from minimum and maximum instead of properly set up from mScalarColorRampShaderWidget. We first setup minimum maximum and then use shader from mScalarColorRampShaderWidget .

Fixes #60864

…um (which updates shader) and then update shader to keep correct
@github-actions github-actions bot added this to the 3.44.0 milestone Mar 27, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Mar 27, 2025

🪟 Windows Qt6 builds

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

🪟 Windows builds

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

@nyalldawson
Copy link
Collaborator

Any chance of a test for this?

@uclaros uclaros added Bug Either a bug report, or a bug fix. Let's hope for the latter! backport release-3_42 labels Mar 28, 2025
@JanCaha
Copy link
Contributor Author

JanCaha commented Mar 28, 2025

Add test case

@JanCaha
Copy link
Contributor Author

JanCaha commented Mar 30, 2025

@uclaros could you please trigger CI rerun here? It looks it failed for some weird reason

@uclaros uclaros closed this Mar 31, 2025
@uclaros uclaros reopened this Mar 31, 2025
Copy link
Collaborator

@ptitjano ptitjano left a comment

Choose a reason for hiding this comment

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

Tested, this fixes the issue. Looks good to me. Thanks @JanCaha

@uclaros uclaros merged commit d4729df into qgis:master Apr 4, 2025
64 of 65 checks passed
@JanCaha JanCaha deleted the fix-60864 branch April 4, 2025 07: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!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom color ramp to mesh layers are recalculated in QGIS 3.42

4 participants