diff options
author | Hans Fugal <hans@fugal.net> | 2006-08-12 22:00:34 +0000 |
---|---|---|
committer | Hans Fugal <hans@fugal.net> | 2006-08-12 22:00:34 +0000 |
commit | 37bfd8900c82702d1cb6f2caa3eb753f30a62372 (patch) | |
tree | c98e7ac4880064d772c179749df636fd548bebfe /gtk2_ardour/route_time_axis.cc | |
parent | 66054fe5d61a225c1af03e514c23b5e1a5dbc547 (diff) | |
parent | 57f7f71ce3c1acae5a50e903d2dd472743df8043 (diff) |
r257@gwythaint (orig r797): fugalh | 2006-08-12 15:49:20 -0600
r316@gandalf: fugalh | 2006-08-11 17:06:48 -0600
Reconstitution. Comiples, untested.
git-svn-id: svn://localhost/ardour2/trunk@803 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index e2e1fb2149..6e578a13e7 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -1054,7 +1054,7 @@ RouteTimeAxisView::cut_copy_clear (Selection& selection, CutCopyOp op) case Cut: if ((what_we_got = playlist->cut (time)) != 0) { editor.get_cut_buffer().add (what_we_got); - _session.add_command( new MementoCommand<Playlist>(*playlist, before, playlist->get_state())); + _session.add_command( new MementoCommand<Playlist>(*playlist, &before, &playlist->get_state())); ret = true; } break; @@ -1066,7 +1066,7 @@ RouteTimeAxisView::cut_copy_clear (Selection& selection, CutCopyOp op) case Clear: if ((what_we_got = playlist->cut (time)) != 0) { - _session.add_command( new MementoCommand<Playlist>(*playlist, before, playlist->get_state())); + _session.add_command( new MementoCommand<Playlist>(*playlist, &before, &playlist->get_state())); what_we_got->unref (); ret = true; } @@ -1097,7 +1097,7 @@ RouteTimeAxisView::paste (jack_nframes_t pos, float times, Selection& selection, XMLNode &before = playlist->get_state(); playlist->paste (**p, pos, times); - _session.add_command( new MementoCommand<Playlist>(*playlist, before, playlist->get_state())); + _session.add_command( new MementoCommand<Playlist>(*playlist, &before, &playlist->get_state())); return true; } |