mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-19 00:02:48 -04:00
The min/max values were stored in the color ramp shader, but to my surprise these values were never persisted or copied: pseudo-color raster renderer has a separate storage for the min/max values, so we need that for mesh renderer as well. The QgsRasterShaderFunction is not really useful, and QgsColorRamp should not be derived from it, making things just more confusing.