summaryrefslogtreecommitdiff
path: root/gtk2_ardour/selection.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2014-12-23 00:30:23 +1100
committerPaul Davis <paul@linuxaudiosystems.com>2015-01-02 08:01:12 -0500
commita79589249259c8cbef7f1b30fe167d80c9a67412 (patch)
tree87db8957db0e04998f6b343effe3010ea6a2f3e2 /gtk2_ardour/selection.cc
parentb5c9a92a584b70b2af172e7240d4a58b007e0608 (diff)
Separate selection operations into their own temporary history mechanism.
The user can now replay *all* earlier selection operations until the next session undo/redo command, or the completion of a new operation. Nothing relating to selection ops is stored, and selection operation history is begun on first idle. Selection operation history is fundamentally different from the history of operations which act on a selection in terms of both their viewport and the amount of information required to replay them. WRT undo, the user of a selection op doesn't care about the viewport state at the beginning of an op, but rather that at the end of the previous one.
Diffstat (limited to 'gtk2_ardour/selection.cc')
-rw-r--r--gtk2_ardour/selection.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/selection.cc b/gtk2_ardour/selection.cc
index ae00c4f8c4..6d07564f2c 100644
--- a/gtk2_ardour/selection.cc
+++ b/gtk2_ardour/selection.cc
@@ -1261,6 +1261,7 @@ Selection::set_state (XMLNode const & node, int)
}
clear_regions ();
+ clear_points ();
clear_time ();
clear_tracks ();
clear_markers ();