Skip to content
Permalink
Browse files

Fix for ticket #3471

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15131 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Feb 7, 2011
1 parent 544cc42 commit 0351fcf3517a4e8574d2aa7b3ea5352a793a3486
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/qgsmaprenderer.cpp
@@ -381,6 +381,10 @@ void QgsMapRenderer::render( QPainter* painter )
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
{

0 comments on commit 0351fcf

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