mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Make source length a dynamic thing.
Update MIDI region length (actually and visually) when position changes. git-svn-id: svn://localhost/ardour2/branches/3.0@4644 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
bed0d89337
commit
c9582da233
28 changed files with 144 additions and 74 deletions
|
|
@ -699,7 +699,7 @@ AudioStreamView::update_rec_regions ()
|
|||
|
||||
if (nlen != region->length()) {
|
||||
|
||||
if (region->source(0)->length() >= region->start() + nlen) {
|
||||
if (region->source_length(0) >= region->start() + nlen) {
|
||||
|
||||
region->freeze ();
|
||||
region->set_position (_trackview.get_diskstream()->get_capture_start_frame(n), this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue