mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
* fix the fix: note velocity editing works now without duplicating the edited note on each step
* removed debugging output git-svn-id: svn://localhost/ardour2/branches/3.0@4350 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e52665d0b0
commit
6650ebdca9
2 changed files with 4 additions and 3 deletions
|
|
@ -1577,7 +1577,9 @@ MidiRegionView::change_velocity(CanvasNoteEvent* ev, int8_t velocity, bool relat
|
|||
for (Selection::iterator i = _selection.begin(); i != _selection.end();) {
|
||||
Selection::iterator next = i;
|
||||
++next;
|
||||
if ( !(*((*i)->note()) == *(ev->note())) ) {
|
||||
change_note_velocity(*i, velocity, relative);
|
||||
}
|
||||
i = next;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -703,7 +703,6 @@ MidiTrack::unfreeze ()
|
|||
void
|
||||
MidiTrack::set_note_mode (NoteMode m)
|
||||
{
|
||||
cout << _name << " SET NOTE MODE " << m << endl;
|
||||
_note_mode = m;
|
||||
midi_diskstream()->set_note_mode(m);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue