mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-12 17:46:34 +01:00
fix bug that has existed since rev 17 when evaluating a curve in a position before the first point of the curve
git-svn-id: svn://localhost/ardour2/branches/3.0@12411 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
37bc04f230
commit
b99131f21e
1 changed files with 1 additions and 1 deletions
|
|
@ -374,7 +374,7 @@ Curve::multipoint_eval (double x)
|
||||||
if (range.first == _list.events().begin()) {
|
if (range.first == _list.events().begin()) {
|
||||||
/* we're before the first point */
|
/* we're before the first point */
|
||||||
// return default_value;
|
// return default_value;
|
||||||
_list.events().front()->value;
|
return _list.events().front()->value;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (range.second == _list.events().end()) {
|
if (range.second == _list.events().end()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue