step entry: do not pass auto_partition=true to Playlist::add_region()
This code path is only followed if there is no region at the start of step entry, so auto-partition makes no sense anyway
This commit is contained in:
parent
fba4a5ff73
commit
e9f98fe230
@ -118,7 +118,7 @@ StepEditor::prepare_step_edit_region ()
|
|||||||
|
|
||||||
const Meter& m = Temporal::TempoMap::use()->meter_at (step_edit_insert_position);
|
const Meter& m = Temporal::TempoMap::use()->meter_at (step_edit_insert_position);
|
||||||
/* 1 bar long region */
|
/* 1 bar long region */
|
||||||
step_edit_region = _mtv.add_region (step_edit_insert_position, timecnt_t (Beats::beats (m.divisions_per_bar()), step_edit_insert_position), true);
|
step_edit_region = _mtv.add_region (step_edit_insert_position, timecnt_t (Beats::beats (m.divisions_per_bar()), step_edit_insert_position));
|
||||||
|
|
||||||
RegionView* rv = _mtv.midi_view()->find_view (step_edit_region);
|
RegionView* rv = _mtv.midi_view()->find_view (step_edit_region);
|
||||||
step_edit_region_view = dynamic_cast<MidiRegionView*>(rv);
|
step_edit_region_view = dynamic_cast<MidiRegionView*>(rv);
|
||||||
|
Loading…
Reference in New Issue
Block a user