Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Raster Rendering: set min/max in widget earlier when loading from ren…
…derer When populating QgsSingleBandPseudoColorRenderer from an existing one the min/max values where set last. However if that renderers shader was a QgsColorRampShader without an actual color ramp, a default one was used. Now, if the color ramp shader contained a color map, we try to interpolate the colors with these min/max values, which are not set yet. So we set these values before loading any raster shader.
- Loading branch information