changeset 274:a895c7177841

added note pitch snapping after "move" edit
author matthiasm
date Fri, 11 Apr 2014 16:34:12 +0100
parents 29005aa146e2
children a7f6e3f5ffbb c01dd6ee127c
files .hgsubstate src/MainWindow.cpp
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Thu Apr 10 17:55:43 2014 +0100
+++ b/.hgsubstate	Fri Apr 11 16:34:12 2014 +0100
@@ -4,4 +4,4 @@
 27d4e7152c954bf3c4387319db088fb3cd02436b sv-dependency-builds
 63dec7dc11cc9edf74770268bf617619c4f5b3c8 svapp
 ecb34638ce1ba82cc47e9d12693d7b19a04ef9e1 svcore
-b75c95e7f9064c4326f327bd9e182946049c7194 svgui
+6388ddae6ce3b5ddaeb5a39221e680e0327e55cb svgui
--- a/src/MainWindow.cpp	Thu Apr 10 17:55:43 2014 +0100
+++ b/src/MainWindow.cpp	Fri Apr 11 16:34:12 2014 +0100
@@ -2168,6 +2168,7 @@
 void
 MainWindow::snapNotesToPitches()
 {
+    cerr << "in snapNotesToPitches" << endl;
     MultiSelection::SelectionList selections = m_viewManager->getSelections();
 
     if (!selections.empty()) {
@@ -2187,6 +2188,7 @@
 void
 MainWindow::auxSnapNotes(Selection s)
 {
+    cerr << "in auxSnapNotes" << endl;
     FlexiNoteLayer *layer =
         qobject_cast<FlexiNoteLayer *>(m_analyser->getLayer(Analyser::Notes));
     if (!layer) return;