projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1de39b8
)
Remove warning when adding MIDI model controls.
author
David Robillard
<d@drobilla.net>
Thu, 25 Dec 2014 01:41:14 +0000
(20:41 -0500)
committer
David Robillard
<d@drobilla.net>
Thu, 25 Dec 2014 01:41:14 +0000
(20:41 -0500)
This is fine, unlike the other cases, MidiTrack is not the only thing that can
have a MIDI automation control.
libs/ardour/automatable.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/automatable.cc
b/libs/ardour/automatable.cc
index 0538c84cc5917a6d74ef1c8291fce0af17aec7b5..5e4991fe6e2eb750bb8c0b8d142d4d27d675fcea 100644
(file)
--- 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);