Commented out debug messages

preferencesAboutTextFull
Craig Watson 7 years ago
parent e61d2955a1
commit 6ba89a09d3
  1. 4
      src/domain/UBGraphicsStroke.cpp

@ -212,7 +212,7 @@ UBGraphicsStroke* UBGraphicsStroke::simplify()
newStroke->mDrawnPoints = QList<strokePoint>(mDrawnPoints); newStroke->mDrawnPoints = QList<strokePoint>(mDrawnPoints);
QList<strokePoint>& points = newStroke->mDrawnPoints; QList<strokePoint>& points = newStroke->mDrawnPoints;
qDebug() << "Simplifying. Before: " << points.size() << " points and " << polygons().size() << " polygons"; //qDebug() << "Simplifying. Before: " << points.size() << " points and " << polygons().size() << " polygons";
/* Basic simplifying algorithm: consider A, B and C the current point and the two following ones. /* Basic simplifying algorithm: consider A, B and C the current point and the two following ones.
* If the angle between (AB) and (BC) is lower than a certain threshold, * If the angle between (AB) and (BC) is lower than a certain threshold,
@ -321,7 +321,7 @@ UBGraphicsStroke* UBGraphicsStroke::simplify()
poly->setStroke(newStroke); poly->setStroke(newStroke);
} }
qDebug() << "After: " << points.size() << " points and " << newStroke->polygons().size() << " polygons"; //qDebug() << "After: " << points.size() << " points and " << newStroke->polygons().size() << " polygons";
return newStroke; return newStroke;
} }

Loading…
Cancel
Save