Make discrete mode work for MIDI automation views. Fixes #3178.

git-svn-id: svn://localhost/ardour2/branches/3.0@7159 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-05-25 16:40:35 +00:00
parent a57b9cdd99
commit 2881a495ef
3 changed files with 20 additions and 1 deletions

View file

@ -364,6 +364,10 @@ AutomationTimeAxisView::interpolation_changed ()
if (_line) {
_line->set_interpolation(style);
}
if (_view) {
_view->set_interpolation (style);
}
}
void
@ -373,6 +377,9 @@ AutomationTimeAxisView::set_interpolation (AutomationList::InterpolationStyle st
if (_line) {
_line->set_interpolation(style);
}
if (_view) {
_view->set_interpolation (style);
}
}
void