mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ StepEditor::prepare_step_edit_region ()
|
|||
|
||||
const Meter& m = Temporal::TempoMap::use()->meter_at (step_edit_insert_position);
|
||||
/* 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);
|
||||
step_edit_region_view = dynamic_cast<MidiRegionView*>(rv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue