We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 0065f6c commit ff57fccCopy full SHA for ff57fcc
src/core/qgsmaprenderer.cpp
@@ -228,6 +228,12 @@ void QgsMapRenderer::render( QPainter* painter )
228
return;
229
}
230
231
+ if ( mSize.width() == 1 && mSize.height() == 1 )
232
+ {
233
+ QgsDebugMsg( "size 1x1... not rendering" );
234
+ return;
235
+ }
236
+
237
QPaintDevice* thePaintDevice = painter->device();
238
if ( !thePaintDevice )
239
{
0 commit comments