summaryrefslogtreecommitdiff
path: root/libs/ardour/automatable.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-24 20:41:14 -0500
committerDavid Robillard <d@drobilla.net>2014-12-24 20:41:14 -0500
commit129cc4689aa2910094569102767610fbc769b037 (patch)
treeca0ae5e85f4006694c0adf5b77712e1f7c5439d0 /libs/ardour/automatable.cc
parent1de39b8971f39398cadf6c9f2461fd49299c322e (diff)
Remove warning when adding MIDI model controls.
This is fine, unlike the other cases, MidiTrack is not the only thing that can have a MIDI automation control.
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r--libs/ardour/automatable.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc
index 0538c84cc5..5e4991fe6e 100644
--- a/libs/ardour/automatable.cc
+++ b/libs/ardour/automatable.cc
@@ -408,8 +408,6 @@ Automatable::control_factory(const Evoral::Parameter& param)
if (mt) {
control = new MidiTrack::MidiControl(mt, param);
make_list = false; // No list, this is region "automation"
- } else {
- warning << "MidiCCAutomation for non-MidiTrack" << endl;
}
} else if (param.type() == PluginAutomation) {
PluginInsert* pi = dynamic_cast<PluginInsert*>(this);