Skip to content
Permalink
Browse files

ouch - missed the real change in r15255

git-svn-id: http://svn.osgeo.org/qgis/trunk@15257 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Feb 24, 2011
1 parent 0065f6c commit ff57fcc648d26d34b4459a7d9ddb48dd8a02b103
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/core/qgsmaprenderer.cpp
@@ -228,6 +228,12 @@ void QgsMapRenderer::render( QPainter* painter )
return;
}

if ( mSize.width() == 1 && mSize.height() == 1 )
{
QgsDebugMsg( "size 1x1... not rendering" );
return;
}

QPaintDevice* thePaintDevice = painter->device();
if ( !thePaintDevice )
{

0 comments on commit ff57fcc

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