Amend c242cbc318
(VCA automation button)
This commit is contained in:
parent
c242cbc318
commit
8400ebd175
|
@ -335,6 +335,7 @@ AutomationTimeAxisView::set_automation_state (AutoState state)
|
||||||
}
|
}
|
||||||
else if (_control) {
|
else if (_control) {
|
||||||
_control->set_automation_state (state);
|
_control->set_automation_state (state);
|
||||||
|
_session->set_dirty ();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_view) {
|
if (_view) {
|
||||||
|
|
|
@ -292,7 +292,12 @@ GainMeterBase::set_gain_astate (AutoState as)
|
||||||
ChangeGainAutomationState (as);
|
ChangeGainAutomationState (as);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_amp->set_parameter_automation_state (Evoral::Parameter (GainAutomation), as);
|
if (_amp) {
|
||||||
|
_amp->set_parameter_automation_state (Evoral::Parameter (GainAutomation), as);
|
||||||
|
} else if (_control) {
|
||||||
|
_control->set_automation_state (as);
|
||||||
|
_session->set_dirty ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue
Block a user