diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-28 13:36:38 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-28 13:40:18 -0600 |
commit | 8befc818eb1fa6c53405036d767833783aafa312 (patch) | |
tree | b39ac1faece2b06f389878d039e7dabb7d98fa66 /libs/ardour/session.cc | |
parent | 7f1134e5509d96bd34364f71e5133cddbb1f3926 (diff) |
add explanatory comment
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index c3035d4b5c..b4d1f04a9c 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -3013,6 +3013,16 @@ Session::add_routes (RouteList& new_routes, bool input_auto_connect, bool output error << _("Adding new tracks/busses failed") << endmsg; } + /* During the route additions there will have been potentially several + * signals emitted to indicate the new graph. ::graph_reordered() will + * have ignored all of them because _adding_routes_in_progress was + * true. + * + * We still need the effects of ::graph_reordered(), but we didn't want + * it called multiple times during the addition of multiple routes. Now + * that the addition is done, call it explicitly. + */ + graph_reordered (); set_dirty(); |