mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-25 14:47:20 +01:00
Fix crash changing automation state of MIDI 'automation' tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@5888 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e76d325bd0
commit
e1ca7942c8
1 changed files with 3 additions and 1 deletions
|
|
@ -253,7 +253,9 @@ void
|
|||
AutomationTimeAxisView::set_automation_state (AutoState state)
|
||||
{
|
||||
if (!ignore_state_request) {
|
||||
_automatable->set_parameter_automation_state (_control->parameter(), state);
|
||||
if (_automatable) {
|
||||
_automatable->set_parameter_automation_state (_control->parameter(), state);
|
||||
}
|
||||
#if 0
|
||||
if (_route == _automatable) { // This is a time axis for route (not region) automation
|
||||
_route->set_parameter_automation_state (_control->parameter(), state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue