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:
parent
e202616037
commit
469b390e52
@ -88,7 +88,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (
|
||||
have_name_font = true;
|
||||
}
|
||||
|
||||
if (_control) {
|
||||
if (_automatable && _control) {
|
||||
_controller = AutomationController::create (_automatable, _control->parameter(), _control);
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user