49e1f7f79d9daa72bb03f4ec147c7a1703eadc0f
Old code use the TempoMetric (Tempo + Meter) in effect at the old location of the tempo/meter to compute the position of the edited tempo/meter, using a BBT time from the dialog. But this TempoMetric uses the very tempo/meter that we're editing! So we have to use previous_tempo() or previous_meter() to construct the relevant TempoMetric, and if it is the first tempo or meter, then obviously it cannot move position at all.
Please see the Ardour web site at https://ardour.org/ for all documentation..
For information on building ardour:
https://ardour.org/development.html
Description
Languages
C++
56.5%
C
39.6%
JavaScript
1.3%
Lua
0.9%
Python
0.6%
Other
0.9%