Automation recording: remove unnecessary hasAutomation() - the pattern doesn't need to already have automation in

order to record more...
This commit is contained in:
Vesa
2014-05-05 00:57:32 +03:00
parent 6b7a3c0041
commit dbe69c74ec

View File

@@ -491,7 +491,7 @@ void AutomationPattern::processMidiTime( const MidiTime & time )
}
else
{
if( time >= 0 && hasAutomation() && ! m_objects.isEmpty() )
if( time >= 0 && ! m_objects.isEmpty() )
{
const float value = static_cast<float>( firstObject()->value<float>() );
if( value != m_lastRecordedValue )