Skip to content

Commit

Permalink
Reduced debug noise from labeling plugin
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12159 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Nov 17, 2009
1 parent d6503b2 commit 52eaabc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/pal/feature.cpp
Expand Up @@ -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++ )
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/labeling/pallabeling.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 52eaabc

Please sign in to comment.