(1) stop using mangled names in history state, use demangled ones instead (2) fix region split so that the generated regions have the right start points in the source(s)

git-svn-id: svn://localhost/ardour2/branches/3.0@6721 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-03-02 19:12:01 +00:00
parent 17088ee3ea
commit 3a85e71031
7 changed files with 65 additions and 68 deletions

View file

@ -21,6 +21,7 @@
#include "pbd/stateful_diff_command.h"
#include "pbd/property_list.h"
#include "pbd/demangle.h"
#include "i18n.h"
using namespace std;
@ -105,7 +106,7 @@ StatefulDiffCommand::get_state ()
XMLNode* node = new XMLNode (X_("StatefulDiffCommand"));
node->add_property ("obj-id", s->id().to_s());
node->add_property ("type-name", typeid(*s.get()).name());
node->add_property ("type-name", demangled_name (*s.get()));
XMLNode* before = new XMLNode (X_("Undo"));
XMLNode* after = new XMLNode (X_("Do"));