CC121: fix pan_azimuth direction by setting rotary flag
This commit is contained in:
parent
592d73dcb4
commit
aa4d357201
@ -246,9 +246,7 @@ CC121::set_controllable (boost::shared_ptr<AutomationControl> ac, float delta)
|
||||
return;
|
||||
}
|
||||
ac->start_touch (ac->session().transport_sample());
|
||||
double v = ac->internal_to_interface (ac->get_value());
|
||||
v = std::max (0.0, std::min (1.0, v + delta));
|
||||
ac->set_value (ac->interface_to_internal(v), PBD::Controllable::NoGroup);
|
||||
ac->set_interface ((ac->internal_to_interface (ac->get_value(), true) + delta), true);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user