mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
go back to always interpolating framed curve points.
This commit is contained in:
parent
00eef2e000
commit
c3ab67ddb6
1 changed files with 2 additions and 9 deletions
|
|
@ -85,15 +85,8 @@ FramedCurve::interpolate ()
|
||||||
}
|
}
|
||||||
samples.clear ();
|
samples.clear ();
|
||||||
|
|
||||||
if (_points.size() == 3) {
|
InterpolatedCurve::interpolate (curve_points, points_per_segment, CatmullRomCentripetal, false, samples);
|
||||||
samples.push_back (curve_points.front());
|
n_samples = samples.size();
|
||||||
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
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue