Modify StatefulDiffCommand undo record to only contain the changes in one direction, as the other direction can be inferred. Breaks session history file compatibility.

git-svn-id: svn://localhost/ardour2/branches/3.0@7684 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-08-25 17:31:57 +00:00
parent 803f3a6a30
commit 21855b71d2
11 changed files with 173 additions and 121 deletions

View file

@ -47,8 +47,7 @@ public:
private:
boost::weak_ptr<Stateful> _object; ///< the object in question
PBD::PropertyList* _undo; ///< its (partial) state before the command, to allow undo
PBD::PropertyList* _redo; ///< its (partial) state after the operation, to allow redo
PBD::PropertyList* _changes; ///< property changes to execute this command
};
};