mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 22:25:46 +01:00
fix rebase issue with positional math (we don't allow " - 1")
This commit is contained in:
parent
bc98af7433
commit
f749d4f03e
1 changed files with 1 additions and 1 deletions
|
|
@ -690,7 +690,7 @@ Playlist::add_region (boost::shared_ptr<Region> region, timepos_t const & positi
|
|||
timepos_t pos = position;
|
||||
|
||||
if (times == 1 && auto_partition) {
|
||||
partition_internal (pos - 1, (pos + region->length ()), true, rlock.thawlist);
|
||||
partition_internal (pos.decrement(), (pos + region->length ()), true, rlock.thawlist);
|
||||
for (RegionList::iterator i = rlock.thawlist.begin (); i != rlock.thawlist.end (); ++i) {
|
||||
_session.add_command (new StatefulDiffCommand (*i));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue