diff --git a/src/midifunctor.cpp b/src/midifunctor.cpp index 788f70e7279..b0d5ad02b04 100644 --- a/src/midifunctor.cpp +++ b/src/midifunctor.cpp @@ -158,6 +158,12 @@ FunctorCode InitOnsetOffsetFunctor::VisitLayerElement(LayerElement *layerElement m_currentScoreTime += incrementScoreTime; m_currentRealTimeSeconds += incrementScoreTime * 60.0 / m_currentTempo; } + else if (layerElement->Is(MENSUR)) { + this->m_currentMensur = vrv_cast(layerElement); + } + else if (layerElement->Is(METERSIG)) { + this->m_currentMeterSig = vrv_cast(layerElement); + } return FUNCTOR_CONTINUE; }