summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-06-02 22:01:36 +0200
committerRobin Gareus <robin@gareus.org>2016-06-02 22:25:41 +0200
commit8e4c6f7f5ad0e887b3341810b243812494736368 (patch)
tree1158b37d882d885ddccd27fdd6010958f4b94df8 /libs
parent8566d898b5249df22f06d8954f5633a28c9b8e5e (diff)
fix creating aux-busses from templates, reset return-bitslot
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 37fd382669..7833cad649 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -3261,6 +3261,10 @@ Session::new_route_from_template (uint32_t how_many, XMLNode& node, const std::s
(*i)->add_property ("bitslot", buf);
(*i)->add_property ("name", name);
}
+ else if (type && type->value() == X_("intreturn")) {
+ (*i)->remove_property (X_("bitslot"));
+ (*i)->add_property ("ignore-bitslot", "1");
+ }
else if (type && type->value() == X_("return")) {
// Return::set_state() generates a new one
(*i)->remove_property (X_("bitslot"));