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/region_editor.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/region_editor.cc')
-rwxr-xr-x | gtk2_ardour/region_editor.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/region_editor.cc b/gtk2_ardour/region_editor.cc index 27c7455281..14ea34c306 100755 --- a/gtk2_ardour/region_editor.cc +++ b/gtk2_ardour/region_editor.cc @@ -230,7 +230,7 @@ RegionEditor::position_clock_changed () boost::shared_ptr<Playlist> pl = _region->playlist(); if (pl) { - _region->clear_history (); + _region->clear_changes (); _region->set_position (position_clock.current_time(), this); _session->add_command(new StatefulDiffCommand (_region)); } @@ -246,7 +246,7 @@ RegionEditor::end_clock_changed () boost::shared_ptr<Playlist> pl = _region->playlist(); if (pl) { - _region->clear_history (); + _region->clear_changes (); _region->trim_end (end_clock.current_time(), this); _session->add_command(new StatefulDiffCommand (_region)); } @@ -266,7 +266,7 @@ RegionEditor::length_clock_changed () boost::shared_ptr<Playlist> pl = _region->playlist(); if (pl) { - _region->clear_history (); + _region->clear_changes (); _region->trim_end (_region->position() + frames - 1, this); _session->add_command(new StatefulDiffCommand (_region)); } @@ -357,7 +357,7 @@ RegionEditor::sync_offset_absolute_clock_changed () { _session->begin_reversible_command (_("change region sync point")); - _region->clear_history (); + _region->clear_changes (); _region->set_sync_position (sync_offset_absolute_clock.current_time()); _session->add_command (new StatefulDiffCommand (_region)); @@ -369,7 +369,7 @@ RegionEditor::sync_offset_relative_clock_changed () { _session->begin_reversible_command (_("change region sync point")); - _region->clear_history (); + _region->clear_changes (); _region->set_sync_position (sync_offset_relative_clock.current_time() + _region->position ()); _session->add_command (new StatefulDiffCommand (_region)); |