libardour now has CoreSelection object to manage selection status of Stripables and AutomationControls

This commit is contained in:
Paul Davis 2017-05-05 12:31:21 +01:00
parent ccd19ed061
commit 0c035778e1
26 changed files with 120 additions and 71 deletions

View file

@ -3998,17 +3998,13 @@ OSC::get_sorted_stripables(std::bitset<32> types, bool cue)
sorted.push_back (s);
}
}
} else
if (types[3] && (s->presentation_info().flags() & PresentationInfo::MidiBus)) {
} else if (types[3] && (s->presentation_info().flags() & PresentationInfo::MidiBus)) {
sorted.push_back (s);
} else
if (types[4] && (s->presentation_info().flags() & PresentationInfo::VCA)) {
} else if (types[4] && (s->presentation_info().flags() & PresentationInfo::VCA)) {
sorted.push_back (s);
} else
if (types[8] && (s->presentation_info().flags() & PresentationInfo::Selected)) {
} else if (types[8] && (s->is_selected())) {
sorted.push_back (s);
} else
if (types[9] && (s->presentation_info().flags() & PresentationInfo::Hidden)) {
} else if (types[9] && (s->presentation_info().flags() & PresentationInfo::Hidden)) {
sorted.push_back (s);
}
}