Set discrete by default for boolean parameters.

This commit is contained in:
David Robillard 2014-11-29 01:40:23 -05:00
parent ed1bbefd19
commit 784b96e255
2 changed files with 4 additions and 1 deletions

View file

@ -54,7 +54,7 @@ double ControlList::_thinning_factor = 20.0;
ControlList::ControlList (const Parameter& id)
: _parameter(id)
, _interpolation(Linear)
, _interpolation(id.toggled() ? Discrete : Linear)
, _curve(0)
{
_frozen = 0;