Try to avoid coincident tempo/meter markers when removing time
authorColin Fletcher <colin.m.fletcher@googlemail.com>
Thu, 25 Jun 2015 16:24:20 +0000 (17:24 +0100)
committerColin Fletcher <colin.m.fletcher@googlemail.com>
Thu, 25 Jun 2015 16:24:20 +0000 (17:24 +0100)
commit0613a02e10189c46a32ba67b23b83fc212dce51a
tree6357ba9e934da9fa714d68210a1b192a3973784c
parent94e4e2f55f79fc025dad17a72dcd7217869a3d91
Try to avoid coincident tempo/meter markers when removing time

If a tempo or meter marker exists immediately after the range being removed
by a 'remove time' operation, don't try to move the last marker within the
range being removed to the same position.

Ideally, TempoMap::remove_time() should do the same stuff as insert_time()
to make sure that meter changes only occur on bar lines, but that's for
another time.
libs/ardour/tempo.cc