clear_history -> clear_changes and some comments.

git-svn-id: svn://localhost/ardour2/branches/3.0@7685 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-08-25 17:32:08 +00:00
parent 21855b71d2
commit f30402d073
22 changed files with 115 additions and 111 deletions

View file

@ -1331,8 +1331,8 @@ RouteTimeAxisView::cut_copy_clear (Selection& selection, CutCopyOp op)
}
}
playlist->clear_history ();
playlist->clear_owned_history ();
playlist->clear_changes ();
playlist->clear_owned_changes ();
switch (op) {
case Cut:
@ -1391,7 +1391,7 @@ RouteTimeAxisView::paste (framepos_t pos, float times, Selection& selection, siz
pos = session_frame_to_track_frame (pos, track()->speed());
}
pl->clear_history ();
pl->clear_changes ();
pl->paste (*p, pos, times);
_session->add_command (new StatefulDiffCommand (pl));