diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index a1c6fec416..53a3e8aeb6 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -2104,6 +2104,17 @@ Session::set_state (const XMLNode& node, int version) } } + if (version == 3001 && Profile->get_livetrax() && _master_out) { + std::shared_ptr b = _master_out->input()->bundle(); + std::shared_ptr r = routes.reader(); + for (auto const& i : *r) { + std::shared_ptr tr = std::dynamic_pointer_cast (i); + if (tr) { + tr->output()->connect_ports_to_bundle (b, true, true, this); + } + } + } + if ((child = find_named_node (node, X_("Selection")))) { _selection->set_state (*child, version); }