Do not move the initial tempo / meter changes at 0 time when inserting time (#4313).

git-svn-id: svn://localhost/ardour2/branches/3.0@10057 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-09-06 22:40:41 +00:00
parent d014c7f86c
commit e095a93f98

View file

@ -1672,7 +1672,7 @@ void
TempoMap::insert_time (framepos_t where, framecnt_t amount)
{
for (Metrics::iterator i = metrics->begin(); i != metrics->end(); ++i) {
if ((*i)->frame() >= where) {
if ((*i)->frame() >= where && (*i)->frame() != 0) {
(*i)->set_frame ((*i)->frame() + amount);
}
}