diff --git a/src/core/AutomatableModel.cpp b/src/core/AutomatableModel.cpp index 56791ade4..d8b4023eb 100644 --- a/src/core/AutomatableModel.cpp +++ b/src/core/AutomatableModel.cpp @@ -282,10 +282,6 @@ float AutomatableModel::fittedValue( float value ) const { value = roundf( value / m_step ) * m_step; } - else - { - value = m_minValue; - } // correct rounding error at the border if( qAbs( value - m_maxValue ) < typeInfo::minEps() * qAbs( m_step ) )