13
0

Fix Pan automation when using "Touch"

Pan->touching was left uninitialized, and usually non-zero.
So pan automation was assumed to be currently touched,
and hence never interpolated.
This commit is contained in:
Robin Gareus 2019-12-08 23:52:48 +01:00
parent 79ad931f24
commit d0dcca1093
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -48,6 +48,7 @@ Pannable::Pannable (Session& s)
, pan_frontback_control (new PanControllable (s, "", this, PanFrontBackAutomation))
, pan_lfe_control (new PanControllable (s, "", this, PanLFEAutomation))
, _auto_state (Off)
, _touching (0)
, _has_state (false)
, _responding_to_control_auto_state_change (0)
{