mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
(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:
parent
17088ee3ea
commit
3a85e71031
7 changed files with 65 additions and 68 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue