Skip to content
Permalink
Browse files

Add global scope in server

  • Loading branch information
mhugent committed Feb 27, 2018
1 parent b3d5aab commit e321acd696e402195fb881ac671a24ecdb950195
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/server/qgswmsserver.cpp
@@ -2198,6 +2198,7 @@ int QgsWMSServer::configureMapRender( const QPaintDevice* paintDevice ) const
if ( ctx )
{
QgsExpressionContext newContext;
newContext.appendScope( QgsExpressionContextUtils::globalScope() );
newContext.appendScope( QgsExpressionContextUtils::projectScope() );
ctx->setExpressionContext( newContext );
}

0 comments on commit e321acd

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