Skip to content
Permalink
Browse files

Add global scope in server

  • Loading branch information
mhugent committed Nov 18, 2016
1 parent 339986d commit 0185453c0ac101d7f42b0a1c8068c555415ad5e4
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/server/qgswmsserver.cpp
@@ -2084,6 +2084,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 0185453

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