Fix Triggerbox empty(), active-slots count on session load
This commit is contained in:
parent
05f4ffa598
commit
18207c6896
@ -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 ());
|
||||||
|
Loading…
Reference in New Issue
Block a user