13
0

Save/restore PortInsert state fully (fixes #3901).

git-svn-id: svn://localhost/ardour2/branches/3.0@9244 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-03-30 12:59:15 +00:00
parent a8b4169cce
commit 53d0aeea2b

View File

@ -161,7 +161,7 @@ PortInsert::get_state(void)
XMLNode&
PortInsert::state (bool full)
{
XMLNode& node = Processor::state(full);
XMLNode& node = IOProcessor::state(full);
char buf[32];
node.add_property ("type", "port");
snprintf (buf, sizeof (buf), "%" PRIu32, bitslot);
@ -192,7 +192,7 @@ PortInsert::set_state (const XMLNode& node, int version)
}
}
Processor::set_state (*insert_node, version);
IOProcessor::set_state (*insert_node, version);
if ((prop = node.property ("type")) == 0) {
error << _("XML node describing port insert is missing the `type' field") << endmsg;