go back to always interpolating framed curve points.
This commit is contained in:
parent
00eef2e000
commit
c3ab67ddb6
@ -85,16 +85,9 @@ FramedCurve::interpolate ()
|
||||
}
|
||||
samples.clear ();
|
||||
|
||||
if (_points.size() == 3) {
|
||||
samples.push_back (curve_points.front());
|
||||
samples.push_back (curve_points.back());
|
||||
n_samples = 2;
|
||||
} else {
|
||||
|
||||
InterpolatedCurve::interpolate (curve_points, points_per_segment, CatmullRomCentripetal, false, samples);
|
||||
n_samples = samples.size();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
FramedCurve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
||||
|
Loading…
Reference in New Issue
Block a user