Skip to content
Permalink
Browse files

No context in 3.6

  • Loading branch information
m-kuhn committed Apr 8, 2019
1 parent 3a26327 commit e6d8c12066632000716bddc42618d99187e1e2e8
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/server/services/wms/qgswmsrenderer.cpp
@@ -2057,7 +2057,7 @@ namespace QgsWms
//and WIDTH / HEIGHT parameter is in the range allowed range
//WIDTH
int wmsMaxWidthProj = QgsServerProjectUtils::wmsMaxWidth( *mProject );
int wmsMaxWidthEnv = mContext.settings().wmsMaxWidth();
int wmsMaxWidthEnv = mSettings.wmsMaxWidth();
int wmsMaxWidth;
if ( wmsMaxWidthEnv != -1 && wmsMaxWidthProj != -1 )
{
@@ -2078,7 +2078,7 @@ namespace QgsWms

//HEIGHT
int wmsMaxHeightProj = QgsServerProjectUtils::wmsMaxHeight( *mProject );
int wmsMaxHeightEnv = mContext.settings().wmsMaxHeight();
int wmsMaxHeightEnv = mSettings.wmsMaxHeight();
int wmsMaxHeight;
if ( wmsMaxWidthEnv != -1 && wmsMaxWidthProj != -1 )
{

0 comments on commit e6d8c12

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