when build the region boundary cache, use the "end" of a region, not its "last sample"
It makes no sense to every align a region start/sync point during a drag or alignment operation with the last sample of another region. It only makes sense to align with the position immediately after the last sample of the other region (e.g. directly sequencing regions).
This commit is contained in:
parent
83cd796a47
commit
ff08fbb969
@ -794,10 +794,11 @@ Editor::build_region_boundary_cache ()
|
|||||||
switch (*p) {
|
switch (*p) {
|
||||||
case Start:
|
case Start:
|
||||||
rpos = r->first_sample();
|
rpos = r->first_sample();
|
||||||
|
cerr << "use start of " << r->name() << endl;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case End:
|
case End:
|
||||||
rpos = r->last_sample();
|
rpos = r->last_sample() + 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SyncPoint:
|
case SyncPoint:
|
||||||
|
Loading…
Reference in New Issue
Block a user