Mercurial > hg > svgui
comparison layer/FlexiNoteLayer.cpp @ 774:6da4897a11d3 tonioni
merge
author | matthiasm |
---|---|
date | Wed, 21 May 2014 21:16:11 +0100 |
parents | 8c2dfb4d6c7a |
children | a6b87176b259 |
comparison
equal
deleted
inserted
replaced
772:986f1670a502 | 774:6da4897a11d3 |
---|---|
1349 if (!s.contains(note.frame) && | 1349 if (!s.contains(note.frame) && |
1350 !s.contains(note.frame + note.duration - 1)) { | 1350 !s.contains(note.frame + note.duration - 1)) { |
1351 continue; | 1351 continue; |
1352 } | 1352 } |
1353 | 1353 |
1354 cerr << "snapSelectedNotesToPitchTrack: making new note" << endl; | |
1354 FlexiNote newNote(note); | 1355 FlexiNote newNote(note); |
1355 | 1356 |
1356 command->deletePoint(note); | 1357 command->deletePoint(note); |
1357 | 1358 |
1359 updateNoteValue(v, newNote); | |
1360 command->addPoint(newNote); | |
1358 | 1361 |
1359 } | 1362 } |
1360 | 1363 |
1361 finish(command); | 1364 finish(command); |
1362 } | 1365 } |