mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Add editor selection state to session history via a SelectionMemento, which
combines selection related editor properties with the current editor selection. The related editor properties are: mouse mode, zoom setting, left frame of the canvas, y origin of the canvas. Selection state now includes region views (storing the underlying region id) and time. This patch also fixes a region mute undo bug.
This commit is contained in:
parent
2c8a769aae
commit
9af9e17adc
24 changed files with 414 additions and 134 deletions
|
|
@ -780,7 +780,7 @@ CrossfadeEditor::apply_preset (Preset *preset)
|
|||
void
|
||||
CrossfadeEditor::apply ()
|
||||
{
|
||||
_session->begin_reversible_command (_("Edit crossfade"));
|
||||
the_editor().begin_reversible_command (_("Edit crossfade"));
|
||||
|
||||
XMLNode& before = xfade->get_state ();
|
||||
|
||||
|
|
@ -793,7 +793,7 @@ CrossfadeEditor::apply ()
|
|||
)
|
||||
);
|
||||
|
||||
_session->commit_reversible_command ();
|
||||
the_editor().commit_reversible_command ();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue