From f2c8d98cd39bd15a4cc729f997c144eb07b32da3 Mon Sep 17 00:00:00 2001 From: GZharun Date: Mon, 29 Sep 2014 12:59:16 +0300 Subject: [PATCH] [Summary] Solved an issue when ordinal on newly added track is higher then expected --- libs/ardour/session.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 2ca1c28cb8..f4a4146480 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -5763,6 +5763,11 @@ Session::next_control_id () const if (_monitor_out) { subtract++; } + + // the same about masterbus in Waves Tracks + if (Profile->get_trx() && _master_out) { + subtract++; + } return nroutes() - subtract; }