Models: Fix error

This commit is contained in:
Vesa
2014-05-30 19:29:45 +03:00
parent a46b9383a5
commit 63a39bde76

View File

@@ -703,7 +703,7 @@ float AutomatableModel::globalAutomationValueAt( const MidiTime& time )
{
// scale/fit the value appropriately and return it
const float value = latestPattern->valueAt( time - latestPattern->startPosition() );
const float scaled_value =
const float scaledValue =
( m_scaleType == Linear )
? value
: logToLinearScale(