Merge pull request #1317 from diizy/stable-1.1

Fix drag-n-drop of logscale knobs
This commit is contained in:
Vesa V
2014-11-17 16:17:41 +02:00

View File

@@ -109,7 +109,7 @@ void AutomationPattern::addObject( AutomatableModel * _obj, bool _search_dup )
if( m_objects.isEmpty() && hasAutomation() == false )
{
// then initialize first value
putValue( MidiTime(0), _obj->value<float>(), false );
putValue( MidiTime(0), _obj->inverseScaledValue( _obj->value<float>() ), false );
}
m_objects += _obj;