From cd0f5e06a922f3f64bdc830b96c61a900dc4e768 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 28 Jun 2018 19:14:37 -0400 Subject: when creating a route from a template, use correct call to setup XML state so that name/ports are unique --- libs/ardour/session.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libs/ardour/session.cc') 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); } } } -- cgit v1.2.3