Retain PBD::Ids when reloading sessions (1/2)

Monitor/Listen sends panners are not restored, and hence do
not need to be saved. The panner-shell is bypassed anyway.
This commit is contained in:
Robin Gareus 2021-04-24 20:19:28 +02:00
parent bc8258b234
commit 2db53a4c3e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -375,7 +375,7 @@ Delivery::state ()
if (_panshell) {
node.add_child_nocopy (_panshell->get_state ());
if (_panshell->unlinked_pannable ()) {
if (_panshell->unlinked_pannable () && _role != Listen) {
node.add_child_nocopy (_panshell->unlinked_pannable()->get_state ());
}
}