-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix a bunch of different issue connected to local time signatures #26100
Conversation
Resolves: musescore#18089 Backport of musescore#26100, commit 3, TODO
Resolves: musescore#26001 Resolves the freeze that occurs when opening the corrupted file. Also resolves the problem which causes the corruption in the first place. Backport of musescore#26100, commit 4
Resolves: musescore#25110 Backport of musescore#26100, plus some more
Resolves: musescore#25110 Backport of musescore#26100, commit 3 plus some more
Resolves: musescore#26001 Resolves the freeze that occurs when opening the corrupted file. Also resolves the problem which causes the corruption in the first place. Backport of musescore#26100, commit 4
Resolves: musescore#23411 Backport of musescore#26100, commit 2
Resolves: musescore#23411 Backport of musescore#26100, 2nd commit
This comment was marked as spam.
This comment was marked as spam.
59af940
to
3d899f0
Compare
Resolves: musescore#18089 Backport of musescore#26100, commit 3, TODO
Resolves: musescore#26001 Resolves the freeze that occurs when opening the corrupted file. Also resolves the problem which causes the corruption in the first place. Backport of musescore#26100, commit 4
Resolves: musescore#25110 Backport of musescore#26100, commit 5 plus some more
reg.: overrides a member function but is not marked 'override' [-Winconsistent-missing-override] (Also fixed in musescore#26100)
reg.: overrides a member function but is not marked 'override' [-Winconsistent-missing-override] (Also fixed in musescore#26100)
reg.: overrides a member function but is not marked 'override' [-Winconsistent-missing-override] (Also fixed in musescore#26100)
@@ -683,9 +683,10 @@ void Score::expandVoice(Segment* s, track_idx_t track) | |||
// | |||
Measure* m = s->measure(); | |||
Fraction stick = ps ? ps->tick() : m->tick(); | |||
Fraction stretch = staff(track2staff(track))->timeStretch(stick); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A small thought about neatness - it might be worthwhile having a corresponding actualTicks()
method wherever we have a ticks()
method. This stretch calculation comes up often enough for segments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. It's tricky to do for segments though, because a segment spans all staves, whereas the "stretch" (i.e. the ratio between the global and local time signature) is specific of one single stave. But I agree it'd be best to come up with something general, I'll do it in a next PR 👍
Resolves: musescore#18089 Backport of musescore#26100, commit 3, TODO
Resolves: musescore#26001 Resolves the freeze that occurs when opening the corrupted file. Also resolves the problem which causes the corruption in the first place. Backport of musescore#26100, commit 4
Resolves: musescore#25110 Backport of musescore#26100, commit 5 plus some more
Resolves: musescore#26001 Resolves the freeze that occurs when opening the corrupted file. Also resolves the problem which causes the corruption in the first place.
3d899f0
to
c55afd0
Compare
Fix a bunch of different issue connected to local time signatures
Resolves: #23411
Resolves: #18089
Resolves: #26001
Resolves: #25110