Skip to content
Permalink
Browse files

Use cache for sld layers if they use NamedLayer / NamedStyle

  • Loading branch information
mhugent committed Feb 12, 2019
1 parent 28c0380 commit dee218ba04e6a1bb8b586c7791cc6b2689b9170a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgssldconfigparser.cpp
@@ -263,7 +263,7 @@ QList<QgsMapLayer*> QgsSLDConfigParser::mapLayerFromStyle( const QString& lName,
QDomElement namedStyleElement = findNamedStyleElement( namedLayerElemList[i], styleName );
if ( !namedStyleElement.isNull() )
{
fallbackLayerList = mFallbackParser->mapLayerFromStyle( lName, styleName, false );
fallbackLayerList = mFallbackParser->mapLayerFromStyle( lName, styleName, useCache );
if ( !fallbackLayerList.isEmpty() )
{
resultList << fallbackLayerList;

0 comments on commit dee218b

Please sign in to comment.
You can’t perform that action at this time.