From a183fb25049645347af8c0448d09a9d37478f9ae Mon Sep 17 00:00:00 2001 From: Hannu Haahti Date: Fri, 17 Jan 2014 09:49:35 +0200 Subject: [PATCH] pitch automation in piano roll doesn't require first point to be 0 --- include/InlineAutomation.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/InlineAutomation.h b/include/InlineAutomation.h index 89f3e9164..70cefbec9 100644 --- a/include/InlineAutomation.h +++ b/include/InlineAutomation.h @@ -52,9 +52,7 @@ public: inline bool hasAutomation() const { return m_autoPattern != NULL && - !typeInfo::isEqual( - m_autoPattern->getTimeMap()[0], - defaultValue() ); + m_autoPattern->getTimeMap().isEmpty() == false; } AutomationPattern * automationPattern()