diff --git a/src/core/AutomatableModel.cpp b/src/core/AutomatableModel.cpp index 2207c3a3b..034be3bb5 100644 --- a/src/core/AutomatableModel.cpp +++ b/src/core/AutomatableModel.cpp @@ -1,7 +1,7 @@ /* * AutomatableModel.cpp - some implementations of AutomatableModel-class * - * Copyright (c) 2008-2009 Tobias Doerffel + * Copyright (c) 2008-2012 Tobias Doerffel * * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net * @@ -44,6 +44,8 @@ AutomatableModel::AutomatableModel( DataType _type, bool _default_constructed ) : Model( _parent, _display_name, _default_constructed ), m_dataType( _type ), + m_value( _val ), + m_initValue( _val ), m_minValue( _min ), m_maxValue( _max ), m_step( _step ),