summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-08-13 01:57:03 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-08-13 01:57:03 +0000
commit0178875021916feea05a830325c25e9a7db81d34 (patch)
treeda01be83db51399e179d08814e3fb1e0a3bff183 /gtk2_ardour/route_time_axis.cc
parent677bb36f5c012ac6d429a1d1fce0a726616160d4 (diff)
MIDI cut&paste round two (not done yet); a small region trim fix from lincoln s.
git-svn-id: svn://localhost/ardour2/branches/3.0@5517 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 87d0d07433..d8cbfbc3ea 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -1462,8 +1462,9 @@ RouteTimeAxisView::paste (nframes_t pos, float times, Selection& selection, size
return false;
}
- if (get_diskstream()->speed() != 1.0f)
+ if (get_diskstream()->speed() != 1.0f) {
pos = session_frame_to_track_frame(pos, get_diskstream()->speed() );
+ }
XMLNode &before = playlist->get_state();
playlist->paste (*p, pos, times);