Skip to content

Commit

Permalink
Invert layer crs if wms version is not 1.1.1 (covers the case where w…
Browse files Browse the repository at this point in the history
…ms version is given as 1.3 instead 1.3.0)
  • Loading branch information
mhugent committed May 15, 2013
1 parent cdd7e9f commit 01c46cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapserver/qgsconfigparser.cpp
Expand Up @@ -148,7 +148,7 @@ void QgsConfigParser::appendLayerBoundingBoxes( QDomElement& layerElem,
}

QgsRectangle r( layerExtent );
if ( version == "1.3.0" && layerCRS.axisInverted() )
if ( version != "1.1.1" && layerCRS.axisInverted() )
{
r.invert();
}
Expand Down

0 comments on commit 01c46cb

Please sign in to comment.