Commit 6ba89a09 authored by Craig Watson's avatar Craig Watson

Commented out debug messages

parent e61d2955
...@@ -212,7 +212,7 @@ UBGraphicsStroke* UBGraphicsStroke::simplify() ...@@ -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() ...@@ -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;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment