mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 17:37:41 +01:00
Exclude empty CC-params from "Show Existing Automation"
This commit is contained in:
parent
cc9c38ce5e
commit
f0db0f0862
1 changed files with 4 additions and 1 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#include <utility>
|
||||
|
||||
#include "evoral/EventList.hpp"
|
||||
#include "evoral/Control.hpp"
|
||||
|
||||
#include "ardour/beats_frames_converter.h"
|
||||
#include "ardour/debug.h"
|
||||
|
|
@ -377,7 +378,9 @@ MidiPlaylist::contained_automation()
|
|||
|
||||
for (Automatable::Controls::iterator c = mr->model()->controls().begin();
|
||||
c != mr->model()->controls().end(); ++c) {
|
||||
ret.insert(c->first);
|
||||
if (c->second->list()->size() > 0) {
|
||||
ret.insert(c->first);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue