exclude xrun markers from those returned by Locations::marks_either_side()
Surveying the uses of ::markers_either_side() makes it clear that xrun markers are never relevant to the callers.
This commit is contained in:
parent
dfa9f92e53
commit
5640f820d3
@ -1368,7 +1368,7 @@ Locations::marks_either_side (samplepos_t const sample, samplepos_t& before, sam
|
||||
std::list<samplepos_t> positions;
|
||||
|
||||
for (LocationList::const_iterator i = locs.begin(); i != locs.end(); ++i) {
|
||||
if (((*i)->is_auto_loop() || (*i)->is_auto_punch())) {
|
||||
if (((*i)->is_auto_loop() || (*i)->is_auto_punch()) || (*i)->is_xrun()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user