[QGIS Commit] r15257 - trunk/qgis/src/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu Feb 24 12:47:53 EST 2011
Author: jef
Date: 2011-02-24 09:47:53 -0800 (Thu, 24 Feb 2011)
New Revision: 15257
Modified:
trunk/qgis/src/core/qgsmaprenderer.cpp
Log:
ouch - missed the real change in r15255
Modified: trunk/qgis/src/core/qgsmaprenderer.cpp
===================================================================
--- trunk/qgis/src/core/qgsmaprenderer.cpp 2011-02-24 14:12:38 UTC (rev 15256)
+++ trunk/qgis/src/core/qgsmaprenderer.cpp 2011-02-24 17:47:53 UTC (rev 15257)
@@ -228,6 +228,12 @@
return;
}
+ if ( mSize.width() == 1 && mSize.height() == 1 )
+ {
+ QgsDebugMsg( "size 1x1... not rendering" );
+ return;
+ }
+
QPaintDevice* thePaintDevice = painter->device();
if ( !thePaintDevice )
{
More information about the QGIS-commit
mailing list