13
0

Fix addition of MIDI automation points (#3780).

git-svn-id: svn://localhost/ardour2/branches/3.0@8885 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-02-17 16:18:45 +00:00
parent e202616037
commit 469b390e52
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (
have_name_font = true;
}
if (_control) {
if (_automatable && _control) {
_controller = AutomationController::create (_automatable, _control->parameter(), _control);
}

View File

@ -846,7 +846,7 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
new AutomationTimeAxisView (
_session,
_route,
_route,
boost::shared_ptr<Automatable> (),
boost::shared_ptr<AutomationControl> (),
param,
_editor,