Skip to content
Permalink
Browse files

Reduced debug noise from labeling plugin

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12159 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Nov 17, 2009
1 parent e4f0835 commit a5658a3ef16bb214f3c90e879d103aef738b3772
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/pal/feature.cpp
  2. +1 −1 src/plugins/labeling/pallabeling.cpp
@@ -1334,7 +1334,7 @@ namespace pal
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++ )
@@ -539,7 +539,7 @@ void PalLabeling::drawLabel( pal::LabelPosition* label, QPainter* painter, const
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();

0 comments on commit a5658a3

Please sign in to comment.