mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Added dialog to allow adding any Midi CC track.
Fix display/menu generation when adding a MIDI CC track. Fix crash bug triggered by recording MIDI track with visible CC child track. git-svn-id: svn://localhost/ardour2/trunk@2073 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a43185634c
commit
fc7a2e9ee1
5 changed files with 31 additions and 10 deletions
|
|
@ -1786,7 +1786,7 @@ RouteTimeAxisView::add_automation_child(ParamID param, AutomationTimeAxisView* t
|
|||
|
||||
track->Hiding.connect (bind (mem_fun (*this, &RouteTimeAxisView::automation_track_hidden), param));
|
||||
|
||||
bool hideit = true;
|
||||
bool hideit = false;
|
||||
|
||||
XMLNode* node;
|
||||
|
||||
|
|
@ -1797,14 +1797,17 @@ RouteTimeAxisView::add_automation_child(ParamID param, AutomationTimeAxisView* t
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
_automation_tracks.insert(std::make_pair(param, new RouteAutomationNode(param, NULL, track)));
|
||||
|
||||
if (hideit) {
|
||||
track->hide ();
|
||||
} else {
|
||||
_show_automation.insert(param);
|
||||
_route->gui_changed ("track_height", (void *) 0); /* EMIT_SIGNAL */
|
||||
}
|
||||
|
||||
_automation_tracks.insert(std::make_pair(param, new RouteAutomationNode(param, NULL, track)));
|
||||
|
||||
build_automation_action_menu();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue