Make crossfade edge drags undoable.
git-svn-id: svn://localhost/ardour2/branches/3.0@12625 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ee8634cd87
commit
5049883d46
@ -4557,8 +4557,6 @@ NoteCreateDrag::aborted (bool)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*------------*/
|
|
||||||
|
|
||||||
CrossfadeEdgeDrag::CrossfadeEdgeDrag (Editor* e, AudioRegionView* rv, ArdourCanvas::Item* i, bool start_yn)
|
CrossfadeEdgeDrag::CrossfadeEdgeDrag (Editor* e, AudioRegionView* rv, ArdourCanvas::Item* i, bool start_yn)
|
||||||
: Drag (e, i)
|
: Drag (e, i)
|
||||||
, arv (rv)
|
, arv (rv)
|
||||||
@ -4640,6 +4638,7 @@ CrossfadeEdgeDrag::finished (GdkEvent*, bool)
|
|||||||
vector<Command*> cmds;
|
vector<Command*> cmds;
|
||||||
ar->playlist()->rdiff (cmds);
|
ar->playlist()->rdiff (cmds);
|
||||||
_editor->session()->add_commands (cmds);
|
_editor->session()->add_commands (cmds);
|
||||||
|
_editor->commit_reversible_command ();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user