Fix opaque MIDI region rendering
This issue was introduced in e79d8b00f9
.
This commit is contained in:
parent
6319980746
commit
a2975bb4b7
@ -329,11 +329,14 @@ MidiPlaylist::render (MidiChannelFilter* filter)
|
||||
for (auto i = ++regs.begin(); i != regs.end(); ++i) {
|
||||
if ((*i)->opaque ()) {
|
||||
all_transparent = false;
|
||||
break;
|
||||
}
|
||||
if ((*i)->layer () != layer) {
|
||||
no_layers = false;
|
||||
}
|
||||
if (!all_transparent && !no_layers) {
|
||||
/* no need to check further */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Evoral::EventList<samplepos_t> evlist;
|
||||
|
Loading…
Reference in New Issue
Block a user