summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_editor.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-08-25 17:32:08 +0000
committerCarl Hetherington <carl@carlh.net>2010-08-25 17:32:08 +0000
commitf30402d073aeae5d24462416407e73d1e0314e71 (patch)
tree62e89b0549125dc8d0d5ee91fe2cc689990b7f08 /gtk2_ardour/region_editor.cc
parent21855b71d2eb8006fda96aefacfa60140ae747d3 (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-xgtk2_ardour/region_editor.cc10
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));