mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-21 21:06:03 +01:00
Convert v2 and v3 busses to modern Ardour #10089
This commit is contained in:
parent
5677d30d3e
commit
45b940d648
1 changed files with 6 additions and 0 deletions
|
|
@ -2592,6 +2592,9 @@ Session::XMLRouteFactory_3X (const XMLNode& node, int version)
|
|||
|
||||
if (r->init () == 0 && r->set_state (node, version) == 0) {
|
||||
BOOST_MARK_ROUTE (r);
|
||||
if (!r->is_singleton ()) {
|
||||
r->add_internal_return ();
|
||||
}
|
||||
ret = r;
|
||||
}
|
||||
}
|
||||
|
|
@ -2665,6 +2668,9 @@ Session::XMLRouteFactory_2X (const XMLNode& node, int version)
|
|||
|
||||
if (r->init () == 0 && r->set_state (node, version) == 0) {
|
||||
BOOST_MARK_ROUTE (r);
|
||||
if (!r->is_singleton ()) {
|
||||
r->add_internal_return ();
|
||||
}
|
||||
ret = r;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue