13
0

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:
Paul Davis 2012-05-24 01:43:02 +00:00
parent 37bc04f230
commit b99131f21e

View File

@ -374,7 +374,7 @@ Curve::multipoint_eval (double x)
if (range.first == _list.events().begin()) {
/* we're before the first point */
// return default_value;
_list.events().front()->value;
return _list.events().front()->value;
}
if (range.second == _list.events().end()) {