syntactic tweak
This commit is contained in:
parent
9d5b6a78d5
commit
9c590c1ed1
@ -749,7 +749,7 @@ ControlList::editor_add_ordered (OrderedPoints const & points, bool with_guard)
|
|||||||
_events.insert (s, new ControlEvent (earliest, v));
|
_events.insert (s, new ControlEvent (earliest, v));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (with_guard && distance > 0) {
|
if (with_guard && !distance.is_zero()) {
|
||||||
ControlEvent cp (latest, 0.0);
|
ControlEvent cp (latest, 0.0);
|
||||||
double v = unlocked_eval (latest);
|
double v = unlocked_eval (latest);
|
||||||
iterator s = lower_bound (_events.begin (), _events.end (), &cp, time_comparator);
|
iterator s = lower_bound (_events.begin (), _events.end (), &cp, time_comparator);
|
||||||
|
Loading…
Reference in New Issue
Block a user