diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-25 17:32:08 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-25 17:32:08 +0000 |
commit | f30402d073aeae5d24462416407e73d1e0314e71 (patch) | |
tree | 62e89b0549125dc8d0d5ee91fe2cc689990b7f08 /gtk2_ardour/editor_timefx.cc | |
parent | 21855b71d2eb8006fda96aefacfa60140ae747d3 (diff) |
clear_history -> clear_changes and some comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@7685 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_timefx.cc')
-rw-r--r-- | gtk2_ardour/editor_timefx.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index 88889a4745..03094d0a52 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -81,7 +81,7 @@ Editor::time_stretch (RegionSelection& regions, float fraction) MidiStretch stretch(*_session, request); begin_reversible_command ("midi stretch"); stretch.run(regions.front()->region()); - playlist->clear_history (); + playlist->clear_changes (); playlist->replace_region (regions.front()->region(), stretch.results[0], regions.front()->region()->position()); _session->add_command (new StatefulDiffCommand (playlist)); @@ -337,7 +337,7 @@ Editor::do_timefx (TimeFXDialog& dialog) in_command = true; } - playlist->clear_history (); + playlist->clear_changes (); playlist->replace_region (region, new_region, region->position()); _session->add_command (new StatefulDiffCommand (playlist)); } |