Skip to content

Commit ff57fcc

Browse files
author
jef
committedFeb 24, 2011
ouch - missed the real change in r15255
git-svn-id: http://svn.osgeo.org/qgis/trunk@15257 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0065f6c commit ff57fcc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/core/qgsmaprenderer.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,12 @@ void QgsMapRenderer::render( QPainter* painter )
228228
return;
229229
}
230230

231+
if ( mSize.width() == 1 && mSize.height() == 1 )
232+
{
233+
QgsDebugMsg( "size 1x1... not rendering" );
234+
return;
235+
}
236+
231237
QPaintDevice* thePaintDevice = painter->device();
232238
if ( !thePaintDevice )
233239
{

0 commit comments

Comments
 (0)
Please sign in to comment.