mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 09:06:33 +01:00
Remove dead code
This commit is contained in:
parent
826ad62d91
commit
e35b9f8a3e
1 changed files with 0 additions and 7 deletions
|
|
@ -281,13 +281,6 @@ StepEditor::step_add_note (uint8_t channel, uint8_t pitch, uint8_t velocity, Tem
|
||||||
|
|
||||||
if (beat_duration == 0.0) {
|
if (beat_duration == 0.0) {
|
||||||
beat_duration = StepEntry::instance().note_length();
|
beat_duration = StepEntry::instance().note_length();
|
||||||
} else if (beat_duration == 0.0) {
|
|
||||||
bool success;
|
|
||||||
beat_duration = _editor.get_draw_length_as_beats (success, step_edit_insert_position);
|
|
||||||
|
|
||||||
if (!success) {
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MidiStreamView* msv = _mtv.midi_view();
|
MidiStreamView* msv = _mtv.midi_view();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue