[QGIS Commit] r15131 - trunk/qgis/src/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Feb 7 11:52:59 EST 2011
Author: mhugent
Date: 2011-02-07 08:52:59 -0800 (Mon, 07 Feb 2011)
New Revision: 15131
Modified:
trunk/qgis/src/core/qgsmaprenderer.cpp
Log:
Fix for ticket #3471
Modified: trunk/qgis/src/core/qgsmaprenderer.cpp
===================================================================
--- trunk/qgis/src/core/qgsmaprenderer.cpp 2011-02-05 13:10:10 UTC (rev 15130)
+++ trunk/qgis/src/core/qgsmaprenderer.cpp 2011-02-07 16:52:59 UTC (rev 15131)
@@ -381,6 +381,10 @@
split = splitLayersExtent( ml, r1, r2 );
ct = new QgsCoordinateTransform( ml->srs(), *mDestCRS );
mRenderContext.setExtent( r1 );
+ if( !r1.isFinite() || !r2.isFinite() ) //there was a problem transforming the extent. Skip the layer
+ {
+ continue;
+ }
}
else
{
More information about the QGIS-commit
mailing list