Closed craigsapp closed 10 months ago
@DavidBauer1984 I am going to look at it, but maybe you have an idea?
I made this fix. A call to Doc::PrepareData
is now necessary to gather visible scores. Nothing wrong with this but it would be good to have a clear idea what the call dependencies are.
Yes, this call looks a bit odd. I will have a deeper look into this in the next days.
Commit baf8d5939783b22356a3f2c15c3be046ce8ce61a generates a problem with Humdrum mensural data. Starting with this commit, the following data generates a segmentation fault:
Prior to this commit, the same data will be rendered as expected without a segmentation fault:
And generates the following MEI data:
The above MEI data does not generate a segmentation fault.
Here is a stack trace when loading Humdrum mensural data in this commit:
It looks like something is no longer set properly in the scoreDef after loading Humdrum mensural data. So perhaps there are function(s) that are needed to be called after the conversion of mensural data that is not being done (similar things have happened in the past).