Added Brackets

This commit is contained in:
TheTravelingSpaceman
2017-03-11 17:04:24 +02:00
parent 7d0355e58d
commit ff801868b7

View File

@@ -1334,9 +1334,13 @@ void AutomationEditor::paintEvent(QPaintEvent * pe )
float nextValue;
if ( m_pattern->valuesAfter( ( it + 1 ).key() ) != NULL )
{
nextValue = *( m_pattern->valuesAfter( ( it + 1 ).key() ) );
}
else
{
nextValue = values[ ( it + 1 ).key() - it.key() -1 ];
}
p.setRenderHints( QPainter::Antialiasing, true );
QPainterPath path;