Skip to content

Commit

Permalink
Minimum arc length fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denvi committed Nov 27, 2015
1 parent e15634a commit ecaefaa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gcodepreprocessorutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,10 @@ QList<QVector3D> GcodePreprocessorUtils::generatePointsAlongArcBDring(PointSegme
double arcLength = sweep * radius;

// If this arc doesn't meet the minimum threshold, don't expand.
if (minArcLength > 0 && arcLength < minArcLength) {
QList<QVector3D> empty;
return empty;
}
// if (minArcLength > 0 && arcLength < minArcLength) {
// QList<QVector3D> empty;
// return empty;
// }

int numPoints;

Expand Down

0 comments on commit ecaefaa

Please sign in to comment.