mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
Compiles, but doesn't link. The link errors are mostly expected and are
tomorrow's task. git-svn-id: svn://localhost/ardour2/branches/undo@719 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
277b771a97
commit
1f1c4981de
30 changed files with 257 additions and 243 deletions
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include <ardour/curve.h>
|
||||
#include <ardour/route.h>
|
||||
#include <pbd/memento_command.h>
|
||||
|
||||
#include "gain_automation_time_axis.h"
|
||||
#include "automation_line.h"
|
||||
|
|
@ -61,11 +62,10 @@ GainAutomationTimeAxisView::add_automation_event (ArdourCanvas::Item* item, GdkE
|
|||
|
||||
_session.begin_reversible_command (_("add gain automation event"));
|
||||
|
||||
XMLNode &before, &after;
|
||||
before = curve.get_state();
|
||||
XMLNode &before = curve.get_state();
|
||||
curve.add (when, y);
|
||||
after = curve.get_state();
|
||||
_session.add_command(MementoCommand<ARDOUR::Curve>(curve, before, after));
|
||||
XMLNode &after = curve.get_state();
|
||||
_session.add_command(new MementoCommand<ARDOUR::Curve>(curve, before, after));
|
||||
_session.commit_reversible_command ();
|
||||
_session.set_dirty ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue