summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-09-03 14:50:21 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-09-03 14:50:21 +0000
commitb7fe417f7096bc03c9f0f0a5db362196857e63f9 (patch)
treeda6e876dd7bbde03c4ae72eb3b6a6ca9126fdbed /libs
parentb0b584c2a595bfdf6bb4b980bd8d8fc7f3546fc5 (diff)
better way to "engage" step edit, and extend region correctly as needed
git-svn-id: svn://localhost/ardour2/branches/3.0@5630 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/midi_track.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/midi_track.cc b/libs/ardour/midi_track.cc
index 267cacf787..876187656c 100644
--- a/libs/ardour/midi_track.cc
+++ b/libs/ardour/midi_track.cc
@@ -463,7 +463,7 @@ MidiTrack::no_roll (nframes_t nframes, sframes_t start_frame, sframes_t end_fram
{
int ret = Track::no_roll (nframes, start_frame, end_frame, state_changing, can_record, rec_monitors_input);
- if (ret == 0 && _step_editing) {
+ if (ret == 0 && diskstream()->record_enabled() && _step_editing) {
push_midi_input_to_step_edit_ringbuffer (nframes);
}