[QGIS Commit] r12159 - in trunk/qgis/src: core/pal plugins/labeling

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Nov 17 05:44:03 EST 2009


Author: wonder
Date: 2009-11-17 05:43:56 -0500 (Tue, 17 Nov 2009)
New Revision: 12159

Modified:
   trunk/qgis/src/core/pal/feature.cpp
   trunk/qgis/src/plugins/labeling/pallabeling.cpp
Log:
Reduced debug noise from labeling plugin


Modified: trunk/qgis/src/core/pal/feature.cpp
===================================================================
--- trunk/qgis/src/core/pal/feature.cpp	2009-11-17 02:22:32 UTC (rev 12158)
+++ trunk/qgis/src/core/pal/feature.cpp	2009-11-17 10:43:56 UTC (rev 12159)
@@ -1334,7 +1334,7 @@
     else
       return; // no size penalty for points
 
-    std::cout << "size cost " << sizeCost << std::endl;
+    //std::cout << "size cost " << sizeCost << std::endl;
 
     // apply the penalty
     for ( int i = 0; i < nbp; i++ )

Modified: trunk/qgis/src/plugins/labeling/pallabeling.cpp
===================================================================
--- trunk/qgis/src/plugins/labeling/pallabeling.cpp	2009-11-17 02:22:32 UTC (rev 12158)
+++ trunk/qgis/src/plugins/labeling/pallabeling.cpp	2009-11-17 10:43:56 UTC (rev 12159)
@@ -539,7 +539,7 @@
   QString text = (( MyLabel* )label->getFeaturePart()->getUserGeometry() )->text();
   QString txt = ( label->getPartId() == -1 ? text : QString( text[label->getPartId()] ) );
 
-  QgsDebugMsg( "drawLabel " + QString::number( drawBuffer ) + " " + txt );
+  //QgsDebugMsg( "drawLabel " + QString::number( drawBuffer ) + " " + txt );
 
   // shift by one as we have 2px border
   painter->save();



More information about the QGIS-commit mailing list