Skip to content
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

UMusic: Consider line duration 0 as no duration #898

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

s09bQ5
Copy link
Collaborator

@s09bQ5 s09bQ5 commented Sep 11, 2024

All users of HasLength use the return line duration as divisor. To avoid division by zero, set the result to false if the duration is 0.

Fixes #858

All users of HasLength use the return line duration as divisor.
To avoid division by zero, set the result to false if the duration is 0.
@bohning bohning merged commit e1bcb4b into UltraStar-Deluxe:master Sep 11, 2024
5 checks passed
@s09bQ5 s09bQ5 deleted the fixmipmaplevel branch September 11, 2024 18:27
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 with last page of specific song in editor mode - error message asks for reporting
2 participants