diff options
Diffstat (limited to 'gtk2_ardour/region_selection.cc')
-rw-r--r-- | gtk2_ardour/region_selection.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/region_selection.cc b/gtk2_ardour/region_selection.cc index 1536dd61e4..2a3a307459 100644 --- a/gtk2_ardour/region_selection.cc +++ b/gtk2_ardour/region_selection.cc @@ -303,3 +303,13 @@ RegionSelection::n_midi_regions () const return count; } + +ARDOUR::RegionList +RegionSelection::regionlist () const +{ + ARDOUR::RegionList rl; + for (const_iterator r = begin (); r != end (); ++r) { + rl.push_back ((*r)->region ()); + } + return rl; +} |