comparison layer/FlexiNoteLayer.cpp @ 876:b62c2785ed83 tonioni

Make the dragged pitch take effect when releasing drag on a note
author Chris Cannam
date Tue, 11 Nov 2014 17:05:44 +0000
parents 0e674f1bbf08
children 26da827e8fb5
comparison
equal deleted inserted replaced
875:0e674f1bbf08 876:b62c2785ed83
1197 if (!m_model || !m_editing) return; 1197 if (!m_model || !m_editing) return;
1198 1198
1199 if (m_editingCommand) { 1199 if (m_editingCommand) {
1200 1200
1201 QString newName = m_editingCommand->getName(); 1201 QString newName = m_editingCommand->getName();
1202
1203 if (m_editMode == DragNote) {
1204 //!!! command nesting is wrong?
1205 emit materialiseReAnalysis();
1206 }
1202 1207
1203 m_editingCommand->deletePoint(m_editingPoint); 1208 m_editingCommand->deletePoint(m_editingPoint);
1204 updateNoteValueFromPitchCurve(v, m_editingPoint); 1209 updateNoteValueFromPitchCurve(v, m_editingPoint);
1205 m_editingCommand->addPoint(m_editingPoint); 1210 m_editingCommand->addPoint(m_editingPoint);
1206 1211