remove modifier for use-selection on gain controls
The condition is now: use selection if route is not in a group that shares gain
This commit is contained in:
parent
6ba69cfd57
commit
e60c1840cb
|
@ -755,7 +755,9 @@ GainMeterBase::meter_point_clicked (MeterPoint mp)
|
|||
void
|
||||
GainMeterBase::amp_start_touch (int state)
|
||||
{
|
||||
if (state & Keyboard::UseSelectionModifier) {
|
||||
assert (_route);
|
||||
|
||||
if (!_route->route_group() || !_route->route_group()->is_gain()) {
|
||||
_touch_control_group.reset (new GainControlGroup ());
|
||||
_touch_control_group->set_mode (ControlGroup::Relative);
|
||||
_touch_control_group->fill_from_selection (_control->session().selection(), _control->parameter());
|
||||
|
|
Loading…
Reference in New Issue