Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SERVER][BUGFIX] Use cache if styleName is EMPTY_STYLE_NAME
The QGIS Server layer cache is used to store layer with default style, but in QgsWMSProjectParser::mapLayerFromStyle layers are not cached if the style is not empty. In WMS, default and empty style is the same and the variable EMPTY_STYLE_NAME is here for this. The fix uses EMPTY_STYLE_NAME to use the cache.
- Loading branch information