We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 5514427 commit 4cc85fdCopy full SHA for 4cc85fd
src/server/qgswmsserver.cpp
@@ -2084,9 +2084,8 @@ int QgsWMSServer::configureMapRender( const QPaintDevice* paintDevice ) const
2084
if ( ctx )
2085
{
2086
QgsExpressionContext newContext;
2087
+ newContext.appendScope( QgsExpressionContextUtils::projectScope() );
2088
ctx->setExpressionContext( newContext );
- QgsExpressionContext& expCtx = ctx->expressionContext();
2089
- expCtx.appendScope( QgsExpressionContextUtils::projectScope() );
2090
}
2091
2092
return 0;
0 commit comments