Replace ::user_double() with ::get_double() 2/2
This commit is contained in:
parent
3623b39168
commit
09e8ba00c2
@ -195,7 +195,7 @@ AutomationController::value_adjusted ()
|
|||||||
{
|
{
|
||||||
if (!_ignore_change) {
|
if (!_ignore_change) {
|
||||||
const double new_val = _controllable->interface_to_internal(_adjustment->get_value(), true);
|
const double new_val = _controllable->interface_to_internal(_adjustment->get_value(), true);
|
||||||
if (_controllable->user_double() != new_val) {
|
if (_controllable->get_double() != new_val) {
|
||||||
_controllable->set_value (new_val, Controllable::NoGroup);
|
_controllable->set_value (new_val, Controllable::NoGroup);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -204,7 +204,7 @@ AutomationRegionView::add_automation_event (GdkEvent *, timepos_t const & w, dou
|
|||||||
assert (mt);
|
assert (mt);
|
||||||
boost::shared_ptr<Evoral::Control> mc = mt->control(_parameter);
|
boost::shared_ptr<Evoral::Control> mc = mt->control(_parameter);
|
||||||
assert (mc);
|
assert (mc);
|
||||||
y = mc->user_double ();
|
y = mc->get_double ();
|
||||||
} else if (UIConfiguration::instance().get_new_automation_points_on_lane()) {
|
} else if (UIConfiguration::instance().get_new_automation_points_on_lane()) {
|
||||||
y = c->list()->eval (when);
|
y = c->list()->eval (when);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user