summaryrefslogtreecommitdiff
path: root/libs/ardour/io_processor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-03-16 22:36:06 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-03-16 22:36:06 +0000
commit1b830d59428f51179094f917a09b0acc16f31c8e (patch)
treeb5d6c6b64fee0bbc4dfe9485d886cfa99f8e1888 /libs/ardour/io_processor.cc
parentf1638d365e2f59d09c810e362b6245fe949b7936 (diff)
continue the saga of Rewrite The XML Node So That It Can Be Used To Set Another Object's State by descending into an IO node to fix the names of its ports as used in connection info. allows copies of sends etc. to retain the same connections as the original (with new names, obviously)
git-svn-id: svn://localhost/ardour2/branches/3.0@11717 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/io_processor.cc')
-rw-r--r--libs/ardour/io_processor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/io_processor.cc b/libs/ardour/io_processor.cc
index e1d1461bcd..d5e0f3e0eb 100644
--- a/libs/ardour/io_processor.cc
+++ b/libs/ardour/io_processor.cc
@@ -318,6 +318,6 @@ IOProcessor::prepare_for_reset (XMLNode &state, const std::string& name)
XMLNode* io_node = state.child (IO::state_node_name.c_str());
if (io_node) {
- io_node->add_property ("name", name);
+ IO::prepare_for_reset (*io_node, name);
}
}