Fix to previous - use value<float>() instead of making an unnecessary new function... also accidentally didn't upload the new image last time
This commit is contained in:
@@ -493,7 +493,7 @@ void AutomationPattern::processMidiTime( const MidiTime & time )
|
||||
{
|
||||
if( time >= 0 && hasAutomation() && ! m_objects.isEmpty() )
|
||||
{
|
||||
const float value = static_cast<float>( firstObject()->getValue() );
|
||||
const float value = static_cast<float>( firstObject()->value<float>() );
|
||||
if( value != m_lastRecordedValue )
|
||||
{
|
||||
putValue( time, value, true );
|
||||
|
||||
Reference in New Issue
Block a user