diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2019-05-31 13:36:46 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2019-08-01 12:11:31 -0500 |
commit | fc981d4399b0b2c67f06e4ebd5f3a4a531d63693 (patch) | |
tree | 66186712f235bd841a5081b5d738142edf685ac9 /gtk2_ardour/editor_canvas_events.cc | |
parent | ed325b52b2e4d81e090069a3c952f8216dacd5b5 (diff) |
(Source List) Revert to displaying whole-file Regions instead of Sources.
This preserves the stereo-ness of files that were imported or recorded in stereo.
ToDo (maybe someday): provide a disclosure triangle that exposes the individual channels in a multichannel region
Diffstat (limited to 'gtk2_ardour/editor_canvas_events.cc')
-rw-r--r-- | gtk2_ardour/editor_canvas_events.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk2_ardour/editor_canvas_events.cc b/gtk2_ardour/editor_canvas_events.cc index 0d9d56db68..12d3d621a4 100644 --- a/gtk2_ardour/editor_canvas_events.cc +++ b/gtk2_ardour/editor_canvas_events.cc @@ -1200,9 +1200,6 @@ Editor::track_canvas_drag_motion (Glib::RefPtr<Gdk::DragContext> const& context, if (target == X_("regions")) { region = _regions->get_dragged_region (); - } else if (target == X_("sources")) { - boost::shared_ptr<ARDOUR::Source> src = _sources->get_dragged_source (); - region = RegionFactory::get_whole_region_for_source (src); } if (region) { @@ -1279,10 +1276,7 @@ Editor::drop_regions (const Glib::RefPtr<Gdk::DragContext>& /*context*/, if (from_region_list) { region = _regions->get_dragged_region (); } else { - boost::shared_ptr<ARDOUR::Source> src = _sources->get_dragged_source (); - if (src) { - region = RegionFactory::get_whole_region_for_source (src); - } + region = _sources->get_dragged_region (); } if (!region) { return; } |