From dbe69c74ecc00e5ef0420280e20b1951d46c06c7 Mon Sep 17 00:00:00 2001 From: Vesa Date: Mon, 5 May 2014 00:57:32 +0300 Subject: [PATCH] Automation recording: remove unnecessary hasAutomation() - the pattern doesn't need to already have automation in order to record more... --- src/core/AutomationPattern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/AutomationPattern.cpp b/src/core/AutomationPattern.cpp index 37a6f7b27..49f154732 100644 --- a/src/core/AutomationPattern.cpp +++ b/src/core/AutomationPattern.cpp @@ -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( firstObject()->value() ); if( value != m_lastRecordedValue )