diff options
author | Carl Hetherington <carl@carlh.net> | 2011-09-06 22:40:41 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-09-06 22:40:41 +0000 |
commit | e095a93f98cd6cfb0f56b5efe1c243de48358000 (patch) | |
tree | 5430b2a2634c3c818e324162938f2758a6771ae9 /libs/ardour/tempo.cc | |
parent | d014c7f86c7fa023b50ed98bcdc6ef10a7bc5aba (diff) |
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
Diffstat (limited to 'libs/ardour/tempo.cc')
-rw-r--r-- | libs/ardour/tempo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |