changeset 773:8c2dfb4d6c7a tonioni

fixed: pitch track update deleted note * fixed in FlexiNoteLayer::snapSelectedNotesToPitchTrack
author matthiasm
date Wed, 21 May 2014 18:34:10 +0100
parents 6388ddae6ce3
children 6da4897a11d3
files layer/FlexiNoteLayer.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp	Fri Apr 11 16:34:12 2014 +0100
+++ b/layer/FlexiNoteLayer.cpp	Wed May 21 18:34:10 2014 +0100
@@ -1351,10 +1351,13 @@
             continue;
         }
 
+        cerr << "snapSelectedNotesToPitchTrack: making new note" << endl;
         FlexiNote newNote(note);
 
         command->deletePoint(note);
 
+        updateNoteValue(v, newNote);
+        command->addPoint(newNote);
 
     }