Merge pull request #684 from diizy/autorec

Automation recording: remove unnecessary hasAutomation() - the pattern d...
This commit is contained in:
Vesa V
2014-05-05 01:02:21 +03:00

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 )