Mercurial > hg > svgui
diff layer/FlexiNoteLayer.cpp @ 803:5d2966b7c201 tony_integration
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 12:55:10 +0100 |
parents | a6b87176b259 |
children | 3a52b458fcd5 1d526ba11a24 |
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp Fri May 09 17:15:50 2014 +0100 +++ b/layer/FlexiNoteLayer.cpp Tue Jun 17 12:55:10 2014 +0100 @@ -1351,11 +1351,14 @@ continue; } + cerr << "snapSelectedNotesToPitchTrack: making new note" << endl; FlexiNote newNote(note); command->deletePoint(note); - + if (updateNoteValue(v, newNote)) { + command->addPoint(newNote); + } } finish(command);