mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
MCU: fix mcpStripableSorter
This commit is contained in:
parent
56d36d3a41
commit
d6697cd702
1 changed files with 1 additions and 4 deletions
|
|
@ -255,10 +255,7 @@ struct mcpStripableSorter
|
||||||
{
|
{
|
||||||
bool operator () (const std::shared_ptr<Stripable> & a, const std::shared_ptr<Stripable> & b) const
|
bool operator () (const std::shared_ptr<Stripable> & a, const std::shared_ptr<Stripable> & b) const
|
||||||
{
|
{
|
||||||
const PresentationInfo::Flag a_flag = a->presentation_info().flags ();
|
if (!(a->is_monitor() || b->is_monitor() || a->is_master() || b->is_master())) {
|
||||||
const PresentationInfo::Flag b_flag = b->presentation_info().flags ();
|
|
||||||
|
|
||||||
if (a_flag == b_flag) {
|
|
||||||
return a->presentation_info().order() < b->presentation_info().order();
|
return a->presentation_info().order() < b->presentation_info().order();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue