Playlist UI tweaks: clarify purpose of get_region{view}s_corresponding_to
This commit is contained in:
parent
b0db646029
commit
cf999ecaa9
@ -5163,7 +5163,7 @@ Editor::get_per_region_note_selection (list<pair<PBD::ID, set<boost::shared_ptr<
|
||||
}
|
||||
|
||||
void
|
||||
Editor::get_regions_corresponding_to (boost::shared_ptr<Region> region, vector<RegionView*>& regions, bool src_comparison)
|
||||
Editor::get_regionviews_corresponding_to (boost::shared_ptr<Region> region, vector<RegionView*>& regions, bool src_comparison)
|
||||
{
|
||||
for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) {
|
||||
|
||||
|
@ -472,7 +472,7 @@ public:
|
||||
samplepos_t& pos,
|
||||
boost::shared_ptr<ARDOUR::PluginInfo> instrument = boost::shared_ptr<ARDOUR::PluginInfo>());
|
||||
|
||||
void get_regions_corresponding_to (boost::shared_ptr<ARDOUR::Region> region, std::vector<RegionView*>& regions, bool src_comparison);
|
||||
void get_regionviews_corresponding_to (boost::shared_ptr<ARDOUR::Region> region, std::vector<RegionView*>& regions, bool src_comparison);
|
||||
|
||||
void get_regionviews_by_id (PBD::ID const id, RegionSelection & regions) const;
|
||||
void get_per_region_note_selection (std::list<std::pair<PBD::ID, std::set<boost::shared_ptr<Evoral::Note<Temporal::Beats> > > > >&) const;
|
||||
|
@ -953,7 +953,7 @@ Editor::set_selected_regionview_from_region_list (boost::shared_ptr<Region> regi
|
||||
{
|
||||
vector<RegionView*> all_equivalent_regions;
|
||||
|
||||
get_regions_corresponding_to (region, all_equivalent_regions, region->whole_file());
|
||||
get_regionviews_corresponding_to (region, all_equivalent_regions, region->whole_file());
|
||||
|
||||
if (all_equivalent_regions.empty()) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user