Clear waveform cache when rebuilding peak-files

This commit is contained in:
Robin Gareus 2020-12-21 21:13:13 +01:00
parent b8e336b973
commit ee1e7ad00e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -2632,6 +2632,8 @@ ARDOUR_UI::cleanup_peakfiles ()
// - setup peakfiles (background thread)
_session->cleanup_peakfiles ();
ArdourWaveView::WaveView::clear_cache ();
// re-add waves to ARV
for (list<RegionView*>::iterator i = views.begin(); i != views.end(); ++i) {
AudioRegionView* arv = dynamic_cast<AudioRegionView*> (*i);