From e095a93f98cd6cfb0f56b5efe1c243de48358000 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 6 Sep 2011 22:40:41 +0000 Subject: [PATCH] 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 --- libs/ardour/tempo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index efda7aa1cd..78ee5a9ab7 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -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); } }