-
Notifications
You must be signed in to change notification settings - Fork 260
Score model wrong without sending it through serializer #551
Copy link
Copy link
Closed
Labels
area-renderingEverything related to the renderingEverything related to the renderingplatform-javaRelated to the Java version of alphaTabRelated to the Java version of alphaTabplatform-javascriptRelated to the JavaScript version of alphaTabRelated to the JavaScript version of alphaTabplatform-netRelated to the .net version of alphaTabRelated to the .net version of alphaTabstate-acceptedThis is a valid topic to work on.This is a valid topic to work on.
Metadata
Metadata
Assignees
Labels
area-renderingEverything related to the renderingEverything related to the renderingplatform-javaRelated to the Java version of alphaTabRelated to the Java version of alphaTabplatform-javascriptRelated to the JavaScript version of alphaTabRelated to the JavaScript version of alphaTabplatform-netRelated to the .net version of alphaTabRelated to the .net version of alphaTabstate-acceptedThis is a valid topic to work on.This is a valid topic to work on.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
Observed Results
When the score model is directly sent into the ScoreRenderer after loading it, it seems that various details are wrong in the overall model. Especially regarding the timing.
This requires currently the unit tests to send it once through the JsonSerializer.
Expected Results
The Score datamodel should be 100% after loading and calling finish.
Steps to Reproduce
Further details
As already so often in the past already, the grace timing seems to be one bad player in this bug. The
GraceGroup.addBeatuses the absoluteDisplayStart for the unique IDs. But when the first beat is added in Voice.finish on line 187, the timings are not yet defined.A fix could be to just update the IDs of the grace groups after the display and playback times are defined.
Your environment
Version
Flavor