pitch automation in piano roll doesn't require first point to be 0

This commit is contained in:
Hannu Haahti
2014-01-17 09:49:35 +02:00
parent 2d4e769bd8
commit a183fb2504

View File

@@ -52,9 +52,7 @@ public:
inline bool hasAutomation() const
{
return m_autoPattern != NULL &&
!typeInfo<float>::isEqual(
m_autoPattern->getTimeMap()[0],
defaultValue() );
m_autoPattern->getTimeMap().isEmpty() == false;
}
AutomationPattern * automationPattern()