Skip to content

Conversation

@miiizen
Copy link
Contributor

@miiizen miiizen commented Feb 9, 2026

Resolves: #32017

When creating a ScoreRange, we provide a first Segment and a last Segment. The last segment is not added to the range and is not copied. It is only used to calculate the range's length in ticks.
When opening a file containing MMRests, we don't lay out the underlying measures. This means time signatures and end barlines are not generated. The underlying measure only contains 1 chord rest segment. ScoreRange needs at least two segments to calculate the correct number of ticks.
This PR makes sure we calculate the number of ticks a range covers correctly when deleting time signatures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash when deleting time signature while multi-measure rests are enabled

3 participants