diff --git a/src/core/EnvelopeAndLfoParameters.cpp b/src/core/EnvelopeAndLfoParameters.cpp index 97c926398..77acc30d5 100644 --- a/src/core/EnvelopeAndLfoParameters.cpp +++ b/src/core/EnvelopeAndLfoParameters.cpp @@ -1,7 +1,7 @@ /* * EnvelopeAndLfoParameters.cpp - class EnvelopeAndLfoParameters * - * Copyright (c) 2004-2010 Tobias Doerffel + * Copyright (c) 2004-2014 Tobias Doerffel * * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net * @@ -116,6 +116,9 @@ EnvelopeAndLfoParameters::EnvelopeAndLfoParameters( m_lfoAmountIsZero( false ), m_lfoShapeData( NULL ) { + m_amountModel.setCenterValue( 0 ); + m_lfoAmountModel.setCenterValue( 0 ); + if( s_lfoInstances == NULL ) { s_lfoInstances = new LfoInstances();