diff layer/FlexiNoteLayer.cpp @ 627:640c3792977f tonioni

removed additional prints, midi playback still broken
author gyorgyf
date Sat, 13 Apr 2013 17:18:28 +0100
parents 7256926d3af1
children 764a9452a71a
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp	Sat Apr 13 15:36:54 2013 +0100
+++ b/layer/FlexiNoteLayer.cpp	Sat Apr 13 17:18:28 2013 +0100
@@ -41,25 +41,24 @@
 FlexiNoteLayer::FlexiNoteLayer() :
 	SingleColourLayer(),
 
-		m_model(0),
-		m_editing(false),
-		m_originalPoint(0, 0.0, 0, 1.f, tr("New Point")),
-		m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")),
-		m_editingCommand(0),
-		m_verticalScale(AutoAlignScale),
-		m_scaleMinimum(0),
-		m_scaleMaximum(0)
+		// m_model(0),
+		// m_editing(false),
+		// m_originalPoint(0, 0.0, 0, 1.f, tr("New Point")),
+		// m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")),
+		// m_editingCommand(0),
+		// m_verticalScale(AutoAlignScale),
+		// m_scaleMinimum(0),
+		// m_scaleMaximum(0)
 
-    // m_model(0),
-    // m_editing(false),
-    // m_originalPoint(0, 0.0, 0, 1.f, tr("New Point")),
-    // m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")),
-    // m_editingCommand(0),
-    // m_verticalScale(MIDIRangeScale),
-    // m_scaleMinimum(34),
-    // m_scaleMaximum(77)
+    m_model(0),
+    m_editing(true),
+    m_originalPoint(0, 0.0, 0, 1.f, tr("New Point")),
+    m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")),
+    m_editingCommand(0),
+    m_verticalScale(MIDIRangeScale),
+    m_scaleMinimum(34),
+    m_scaleMaximum(77)
 {
-	std::cerr << "NOTE: constructed FlexiNoteLayer" << std::endl;
 }
 
 void
@@ -70,8 +69,6 @@
 
     connectSignals(m_model);
 
-//    SVDEBUG << "FlexiNoteLayer::setModel(" << model << ")" << endl;
-
     m_scaleMinimum = 0;
     m_scaleMaximum = 0;