Skip to content

Commit

Permalink
Fix automation pattern regressions (#3977)
Browse files Browse the repository at this point in the history
Change the default value of ignoreSurroundingPoints in AutomationPattern::putValue to true, which was false in #3352.
Fixes automation filpping bug and some potential issues.
  • Loading branch information
PhysSong committed Nov 19, 2017
1 parent 3de3ea6 commit 514ae34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/AutomationPattern.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class EXPORT AutomationPattern : public TrackContentObject
MidiTime putValue( const MidiTime & time,
const float value,
const bool quantPos = true,
const bool ignoreSurroundingPoints = false );
const bool ignoreSurroundingPoints = true );

void removeValue( const MidiTime & time );

Expand Down

0 comments on commit 514ae34

Please sign in to comment.