Remove erroneous check that would prevent notes being put at
pitch 0 or 127. git-svn-id: svn://localhost/ardour2/branches/3.0@10154 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6a3d6f3549
commit
7fdc1272b2
@ -2332,12 +2332,6 @@ MidiRegionView::note_dropped(CanvasNoteEvent *, frameoffset_t dt, int8_t dnote)
|
||||
// keep notes in standard midi range
|
||||
clamp_to_0_127(new_pitch);
|
||||
|
||||
// keep original pitch if note is dragged outside valid midi range
|
||||
if ((original_pitch != 0 && new_pitch == 0)
|
||||
|| (original_pitch != 127 && new_pitch == 127)) {
|
||||
new_pitch = original_pitch;
|
||||
}
|
||||
|
||||
lowest_note_in_selection = std::min(lowest_note_in_selection, new_pitch);
|
||||
highest_note_in_selection = std::max(highest_note_in_selection, new_pitch);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user