# HG changeset patch # User gyorgyf # Date 1365869908 -3600 # Node ID 640c3792977f90ddff69552ddd50ae23da98e57a # Parent 7256926d3af1d54d92e259640661c69adfca603a removed additional prints, midi playback still broken diff -r 7256926d3af1 -r 640c3792977f layer/FlexiNoteLayer.cpp --- 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;