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

Fix Catmull slider parsing with duplicate initial point #18386

Merged
merged 1 commit into from
May 24, 2022

Conversation

smoogipoo
Copy link
Contributor

Fixes #18366

Lazer by default adds a (0, 0) control point to the front of the list. But sometimes, especially from older maps, sliders are allowed to contain the slider's position as the first control point. This doesn't have any effect to the overall shape of the slider if it is correctly de-duped, and lazer wasn't de-duping correctly after my previous changes.

I was aware of this quirk while working on the original changes prior to their final refactored form (see code sample in #18308 (comment)).

I can do a diffcalc spreadsheet upon request, but I don't expect it to be meaningful.

@smoogipoo smoogipoo added the area:beatmap-parsing .osu file format parsing label May 24, 2022
@peppy peppy merged commit db593fe into ppy:master May 24, 2022
@smoogipoo smoogipoo deleted the fix-catmull-regression branch September 11, 2023 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:beatmap-parsing .osu file format parsing size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Catmull sliders have a wrong shape around their stating point
2 participants