diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2018-06-28 19:14:37 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2018-06-28 19:14:37 -0400 |
commit | cd0f5e06a922f3f64bdc830b96c61a900dc4e768 (patch) | |
tree | 74789187796f0144de1e44f5c982b8fb3deb800a /libs/ardour | |
parent | 9336bddee2b40e3e70699eec897ca100074db87a (diff) |
when creating a route from a template, use correct call to setup XML state so that name/ports are unique
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/session.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 6d2ca75719..04676fe10d 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -3480,9 +3480,7 @@ Session::new_route_from_template (uint32_t how_many, PresentationInfo::order_t i (*i)->remove_property (X_("bitslot")); } else if (type && type->value() == X_("port")) { - // PortInsert::set_state() handles the bitslot - (*i)->remove_property (X_("bitslot")); - (*i)->set_property ("ignore-name", "1"); + IOProcessor::prepare_for_reset (**i, name); } } } |