From 693883274b2793f096debb9bea811a2ced321b48 Mon Sep 17 00:00:00 2001 From: Craig Stuart Sapp Date: Sun, 17 Sep 2023 02:03:37 -0700 Subject: [PATCH] Temporary fix related to issue https://github.com/rism-digital/verovio/issues/3515 --- src/iohumdrum.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/iohumdrum.cpp b/src/iohumdrum.cpp index 8718349bc95..5cc9a46c6c5 100644 --- a/src/iohumdrum.cpp +++ b/src/iohumdrum.cpp @@ -17975,7 +17975,10 @@ hum::HumNum HumdrumInput::getMeasureTstamp(hum::HTp token, int staffindex, hum:: // what is this for? Causes problems with pedal markings. // qbeat += fract * token->getDuration().getAbs(); } - hum::HumNum mfactor = ss[staffindex].meter_bottom / 4; + // Below is temporary fix for issue https://github.com/rism-digital/verovio/issues/3515 + hum::HumNum mfactor = ss.back().meter_bottom / 4; + // hum::HumNum mfactor = ss[staffindex].meter_bottom / 4; + // if (ss[staffindex].meter_bottom == 0) { // mfactor = 1; // mfactor /= 8;