temporal: if requested via -Dtemporalmap, dump tempo map after any update

This commit is contained in:
Paul Davis 2022-06-16 10:18:05 -06:00
parent 41bce61552
commit 477b136e97
1 changed files with 6 additions and 0 deletions

View File

@ -3309,6 +3309,12 @@ TempoMap::update (TempoMap::WritableSharedPtr m)
/* update thread local map pointer in the calling thread */
update_thread_tempo_map ();
#ifndef NDEBUG
if (DEBUG_ENABLED (DEBUG::TemporalMap)) {
m->dump (std::cerr);
}
#endif
MapChanged (); /* EMIT SIGNAL */
return 0;