Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use cache for sld layers if they use NamedLayer / NamedStyle
  • Loading branch information
mhugent committed Feb 12, 2019
1 parent 28c0380 commit dee218b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgssldconfigparser.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit dee218b

Please sign in to comment.