comparison layer/FlexiNoteLayer.cpp @ 775:a6b87176b259 tonioni

reinstated the original way that was better than my fix
author matthiasm
date Thu, 22 May 2014 11:21:36 +0100
parents 8c2dfb4d6c7a
children 3a52b458fcd5 1d526ba11a24
comparison
equal deleted inserted replaced
774:6da4897a11d3 775:a6b87176b259
1354 cerr << "snapSelectedNotesToPitchTrack: making new note" << endl; 1354 cerr << "snapSelectedNotesToPitchTrack: making new note" << endl;
1355 FlexiNote newNote(note); 1355 FlexiNote newNote(note);
1356 1356
1357 command->deletePoint(note); 1357 command->deletePoint(note);
1358 1358
1359 updateNoteValue(v, newNote); 1359 if (updateNoteValue(v, newNote)) {
1360 command->addPoint(newNote); 1360 command->addPoint(newNote);
1361 1361 }
1362 } 1362 }
1363 1363
1364 finish(command); 1364 finish(command);
1365 } 1365 }
1366 1366