13
0

Fix Triggerbox empty(), active-slots count on session load

This commit is contained in:
Robin Gareus 2022-02-04 01:18:02 +01:00
parent 05f4ffa598
commit 18207c6896
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -3411,9 +3411,11 @@ TriggerBox::set_state (const XMLNode& node, int version)
all_triggers.push_back (trig); all_triggers.push_back (trig);
trig->set_state (**t, version); trig->set_state (**t, version);
} }
if (trig->region ()) {
_active_slots++; _active_slots++;
} }
} }
}
/* sidechain is a Processor (IO) */ /* sidechain is a Processor (IO) */
XMLNode* scnode = node.child (Processor::state_node_name.c_str ()); XMLNode* scnode = node.child (Processor::state_node_name.c_str ());