13
0

triggerbox: missing setter

This commit is contained in:
Paul Davis 2021-08-11 23:09:36 -06:00
parent c620d3d411
commit ec4e09c12a

View File

@ -86,6 +86,16 @@ Trigger::set_state (const XMLNode&, int version)
{
return 0;
}
void
Trigger::set_follow_action_probability (int n)
{
n = std::min (100, n);
n = std::max (0, n);
_follow_action_probability = n;
}
void
Trigger::set_quantization (Temporal::BBT_Offset const & q)
{