Skip to content
Permalink
Browse files

Update src/server/services/wms/qgswmsrenderer.cpp

Co-Authored-By: mbernasocchi <marco@opengis.ch>
  • Loading branch information
m-kuhn and mbernasocchi committed Apr 12, 2019
1 parent d34e95a commit b9a807b6e7b60890cf4c8ac3b312a7f95290046b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/services/wms/qgswmsrenderer.cpp
@@ -2080,7 +2080,7 @@ namespace QgsWms
int wmsMaxHeightProj = QgsServerProjectUtils::wmsMaxHeight( *mProject );
int wmsMaxHeightEnv = mSettings.wmsMaxHeight();
int wmsMaxHeight;
if ( wmsMaxWidthEnv != -1 && wmsMaxWidthProj != -1 )
if ( wmsMaxHeightEnv != -1 && wmsMaxHeightProj != -1 )
{
// both are set, so we take the more conservative one
wmsMaxHeight = std::min( QgsServerProjectUtils::wmsMaxHeight( *mProject ), wmsMaxHeightEnv );

0 comments on commit b9a807b

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