Automation Pattern - Rename 'controlKey' (#3459)

This commit is contained in:
Oskar Wallgren
2017-03-28 11:54:53 +02:00
committed by Javier Serrano Polo
parent a22099c13f
commit 517417f0ca
2 changed files with 3 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ public:
MidiTime putValue( const MidiTime & time,
const float value,
const bool quantPos = true,
const bool controlKey = false );
const bool ignoreSurroundingPoints = false );
void removeValue( const MidiTime & time );

View File

@@ -206,7 +206,7 @@ void AutomationPattern::updateLength()
MidiTime AutomationPattern::putValue( const MidiTime & time,
const float value,
const bool quantPos,
const bool controlKey )
const bool ignoreSurroundingPoints )
{
cleanObjects();
@@ -219,7 +219,7 @@ MidiTime AutomationPattern::putValue( const MidiTime & time,
// Remove control points that are covered by the new points
// quantization value. Control Key to override
if( ! controlKey )
if( ! ignoreSurroundingPoints )
{
for( int i = newTime + 1; i < newTime + quantization(); ++i )
{