diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-01-14 01:25:12 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-01-14 01:25:12 +0000 |
commit | 56cd926425310e5534f4a6864b296101ad0477c6 (patch) | |
tree | 1924efbcc8eeba6db2f6c9fdc821ca2afac5502f /gtk2_ardour/editor_mouse.cc | |
parent | a7a6f464adadb756362b2679121477dc442da5c4 (diff) |
mo' better fixins fer xfades, plus reinstate hiding xfades during drags
git-svn-id: svn://localhost/ardour2/trunk@1325 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_mouse.cc')
-rw-r--r-- | gtk2_ardour/editor_mouse.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index 61a0fdd420..4723a0a66a 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -2799,7 +2799,6 @@ Editor::region_drag_motion_callback (ArdourCanvas::Item* item, GdkEvent* event) set<boost::shared_ptr<Playlist> > affected_playlists; pair<set<boost::shared_ptr<Playlist> >::iterator,bool> insert_result; - // TODO: Crossfades need to be copied! for (list<RegionView*>::const_iterator i = selection->regions.by_layer().begin(); i != selection->regions.by_layer().end(); ++i) { RegionView* rv; @@ -2807,7 +2806,7 @@ Editor::region_drag_motion_callback (ArdourCanvas::Item* item, GdkEvent* event) boost::shared_ptr<Playlist> to_playlist = rv->region()->playlist(); RouteTimeAxisView* atv = dynamic_cast<RouteTimeAxisView*>(&rv->get_time_axis_view()); - + insert_result = affected_playlists.insert (to_playlist); if (insert_result.second) { session->add_command (new MementoCommand<Playlist>(*to_playlist, &to_playlist->get_state(), 0)); @@ -3227,7 +3226,7 @@ Editor::region_drag_motion_callback (ArdourCanvas::Item* item, GdkEvent* event) /* hide any dependent views */ -// rv->get_time_axis_view().hide_dependent_views (*rv); + rv->get_time_axis_view().hide_dependent_views (*rv); /* this is subtle. raising the regionview itself won't help, because raise_to_top() just puts the item on the top of |