13
0

Truncate / expand gain envelope when region length changes.

git-svn-id: svn://localhost/ardour2/branches/3.0@6990 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-04-26 00:24:46 +00:00
parent a4917c9831
commit e950e5de0b

View File

@ -243,6 +243,9 @@ AudioRegion::post_set ()
set_default_fade_in ();
_right_of_split = false;
}
/* If _length changed, adjust our gain envelope accordingly */
_envelope->truncate_end (_length);
}
void