if (!ac) {
continue;
}
- if (ac->automation_state() == Touch && !ac->touching ()) {
- ac->start_touch (ac->session().transport_frame());
- }
+ ac->start_touch (ac->session().transport_frame());
cl->push_back (ac);
}
if (!cl->empty()) {
continue;
}
cl->push_back (ac);
- if (ac->automation_state() == Touch && !ac->touching ()) {
- ac->start_touch (ac->session().transport_frame());
- }
+ ac->start_touch (ac->session().transport_frame());
}
if (!cl->empty()) {
session->set_controls (cl, 1.0, PBD::Controllable::NoGroup);
ac = s->pan_azimuth_control ();
}
if (ac) {
- if (ac->automation_state() == Touch && !ac->touching ()) {
- ac->start_touch (ac->session().transport_frame());
- }
+ ac->start_touch (ac->session().transport_frame());
if (steps == 0) {
ac->set_value (ac->normal(), PBD::Controllable::UseGroup);
} else {
}
double v = ac->internal_to_interface (ac->get_value());
- if (ac->automation_state() == Touch && !ac->touching ()) {
- ac->start_touch (ac->session().transport_frame());
- }
+ ac->start_touch (ac->session().transport_frame());
if (steps == 0) {
ac->set_value (ac->normal(), PBD::Controllable::UseGroup);
ac = session->master_out()->gain_control ();
}
if (ac) {
- if (ac->automation_state() == Touch && !ac->touching ()) {
- ac->start_touch (ac->session().transport_frame());
- }
+ ac->start_touch (ac->session().transport_frame());
ac->set_value (ac->normal(), PBD::Controllable::NoGroup);
}
}
if (ac) {
double v = ac->internal_to_interface (ac->get_value());
v = std::max (0.0, std::min (1.0, v + steps * (neg ? -.01 : .01)));
- if (ac->automation_state() == Touch && !ac->touching ()) {
- ac->start_touch (ac->session().transport_frame());
- }
+ ac->start_touch (ac->session().transport_frame());
ac->set_value (ac->interface_to_internal(v), PBD::Controllable::NoGroup);
}
}