Automation Pattern - Rename 'controlKey' (#3459)
This commit is contained in:
committed by
Javier Serrano Polo
parent
a22099c13f
commit
517417f0ca
@@ -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 );
|
||||
|
||||
|
||||
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user