Skip to content

Commit

Permalink
ouch - missed the real change in r15255
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15257 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Feb 24, 2011
1 parent 68ff7e8 commit 264119d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/qgsmaprenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
{
Expand Down

0 comments on commit 264119d

Please sign in to comment.