projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix bug that has existed since rev 17 when evaluating a curve in a position before...
[ardour.git]
/
libs
/
evoral
/
src
/
Curve.cpp
diff --git
a/libs/evoral/src/Curve.cpp
b/libs/evoral/src/Curve.cpp
index 61f00198c1fdbb7095f2d0107414112f83b947cb..81faee70d3148171b14a3f2ac6626a565ae38896 100644
(file)
--- a/
libs/evoral/src/Curve.cpp
+++ b/
libs/evoral/src/Curve.cpp
@@
-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()) {