use Send::set_owner() so that direct outs show up with better names
This commit is contained in:
parent
0836d8cd27
commit
945f286028
@ -3366,6 +3366,7 @@ Route::set_processor_state (XMLNode const& node, int version, XMLProperty const*
|
|||||||
if (role_prop && role_prop->value() == "DirectOuts") {
|
if (role_prop && role_prop->value() == "DirectOuts") {
|
||||||
_direct_outs.reset (new Send (_session, _pannable, _mute_master, Delivery::DirectOuts, true));
|
_direct_outs.reset (new Send (_session, _pannable, _mute_master, Delivery::DirectOuts, true));
|
||||||
processor = _direct_outs;
|
processor = _direct_outs;
|
||||||
|
processor->set_owner (this);
|
||||||
} else {
|
} else {
|
||||||
processor.reset (new Send (_session, _pannable, _mute_master, Delivery::Send, true));
|
processor.reset (new Send (_session, _pannable, _mute_master, Delivery::Send, true));
|
||||||
}
|
}
|
||||||
@ -3569,6 +3570,7 @@ Route::create_direct_outs ()
|
|||||||
assert (is_track());
|
assert (is_track());
|
||||||
|
|
||||||
_direct_outs.reset (new Send (_session, pannable(), mute_master(), Delivery::DirectOuts, false));
|
_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->set_display_to_user (false);
|
||||||
_direct_outs->activate ();
|
_direct_outs->activate ();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user