13
0

use Send::set_owner() so that direct outs show up with better names

This commit is contained in:
Paul Davis 2024-07-09 09:03:51 -06:00
parent 0836d8cd27
commit 945f286028

View File

@ -3366,6 +3366,7 @@ Route::set_processor_state (XMLNode const& node, int version, XMLProperty const*
if (role_prop && role_prop->value() == "DirectOuts") {
_direct_outs.reset (new Send (_session, _pannable, _mute_master, Delivery::DirectOuts, true));
processor = _direct_outs;
processor->set_owner (this);
} else {
processor.reset (new Send (_session, _pannable, _mute_master, Delivery::Send, true));
}
@ -3569,6 +3570,7 @@ Route::create_direct_outs ()
assert (is_track());
_direct_outs.reset (new Send (_session, pannable(), mute_master(), Delivery::DirectOuts, false));
_direct_outs->set_owner (this);
_direct_outs->set_display_to_user (false);
_direct_outs->activate ();