Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for ticket #3471
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15131 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Feb 7, 2011
1 parent 544cc42 commit 0351fcf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsmaprenderer.cpp
Expand Up @@ -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
{
Expand Down

0 comments on commit 0351fcf

Please sign in to comment.