[QGIS Commit] r14054 - branches/threading-branch/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Aug 11 04:12:06 EDT 2010


Author: wonder
Date: 2010-08-11 08:12:06 +0000 (Wed, 11 Aug 2010)
New Revision: 14054

Modified:
   branches/threading-branch/src/core/qgsmaprenderer.cpp
Log:
Fixed a bug in map renderer (thanks Marco!)


Modified: branches/threading-branch/src/core/qgsmaprenderer.cpp
===================================================================
--- branches/threading-branch/src/core/qgsmaprenderer.cpp	2010-08-11 07:43:19 UTC (rev 14053)
+++ branches/threading-branch/src/core/qgsmaprenderer.cpp	2010-08-11 08:12:06 UTC (rev 14054)
@@ -354,7 +354,7 @@
     if ( !ml )
     {
       QgsDebugMsg( "Layer not found in registry!" );
-      return;
+      continue;
     }
 
     //QgsDebugMsg( "  Layer minscale " + QString( "%1" ).arg( ml->minimumScale() ) );
@@ -366,7 +366,7 @@
     {
       QgsDebugMsg( "Layer not rendered because it is not within the defined "
                    "visibility scale range" );
-      return;
+      continue;
     }
 
     QgsCoordinateTransform* ct = NULL;



More information about the QGIS-commit mailing list