diff options
author | Robin Gareus <robin@gareus.org> | 2019-12-11 13:55:51 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-12-11 13:56:44 +0100 |
commit | dd18be15fbe9ad6a594f37b0d3a8183c0601babb (patch) | |
tree | da93aa750bafad6d2ae66944ede3db62a8083293 /libs/ardour/session.cc | |
parent | 3dafaaf2df6d9057535b16796cd986b89fe3a555 (diff) |
Remove hardcoded session-state versions
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 5e33891aa8..2917cb9eef 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -2947,7 +2947,7 @@ Session::new_route_from_template (uint32_t how_many, PresentationInfo::order_t i */ node_copy.remove_node_and_delete (X_("Controllable"), X_("name"), X_("solo")); - boost::shared_ptr<Route> route (XMLRouteFactory (node_copy, 3000)); + boost::shared_ptr<Route> route (XMLRouteFactory (node_copy, Stateful::loading_state_version)); if (route == 0) { error << _("Session: cannot create track/bus from template description") << endmsg; |