Skip to content

Commit 0185453

Browse files
committedNov 18, 2016
Add global scope in server
1 parent 339986d commit 0185453

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/server/qgswmsserver.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,6 +2084,7 @@ int QgsWMSServer::configureMapRender( const QPaintDevice* paintDevice ) const
20842084
if ( ctx )
20852085
{
20862086
QgsExpressionContext newContext;
2087+
newContext.appendScope( QgsExpressionContextUtils::globalScope() );
20872088
newContext.appendScope( QgsExpressionContextUtils::projectScope() );
20882089
ctx->setExpressionContext( newContext );
20892090
}

0 commit comments

Comments
 (0)
Please sign in to comment.