Skip to content

Commit

Permalink
Merge pull request #3003 from LMMS/iss-2501
Browse files Browse the repository at this point in the history
Fix LFO drifting
  • Loading branch information
lukas-w authored Aug 29, 2016
2 parents 37dfa49 + 67e9371 commit 37d6e9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/AutomatableModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ void AutomatableModel::setValue( const float value )
++m_setValueDepth;
const float old_val = m_value;

m_value = fittedValue( value, true );
m_value = fittedValue( value );
if( old_val != m_value )
{
// add changes to history so user can undo it
Expand Down
4 changes: 2 additions & 2 deletions src/core/TempoSyncKnobModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ void TempoSyncKnobModel::saveSettings( QDomDocument & _doc, QDomElement & _this,
void TempoSyncKnobModel::loadSettings( const QDomElement & _this,
const QString & _name )
{
setSyncMode( ( TempoSyncMode ) _this.attribute( "syncmode" ).toInt() );
m_custom.loadSettings( _this, _name );
FloatModel::loadSettings( _this, _name );
m_custom.loadSettings( _this, _name );
setSyncMode( ( TempoSyncMode ) _this.attribute( "syncmode" ).toInt() );
}


Expand Down

0 comments on commit 37d6e9a

Please sign in to comment.