Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stribor14 committed Mar 30, 2020
1 parent e66ac85 commit 52e5ba3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions example/customscene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,13 +372,10 @@ Delete - delete curve/polycurve");
}
if (keyEvent->key() == 16777223) // Delete
{
qPolyCurve* new_poly = nullptr;
for (auto&& curve : selectedItems())
{
removeItem(curve);
}
if (new_poly)
addItem(new_poly);
update();
}
if (keyEvent->key() == Qt::Key_L) {
Expand Down
2 changes: 1 addition & 1 deletion src/bezier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,8 @@ double Curve::projectPoint(const Point& point, double step, double epsilon, std:
return t_old;
else
return t;
current_iter++;
}
current_iter++;
}

void Curve::applyContinuity(const Curve& source_curve, std::vector<double>& beta_coeffs)
Expand Down

0 comments on commit 52e5ba3

Please sign in to comment.