mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Undo subpath limiting
This commit is contained in:
parent
fcd1f4930f
commit
bee2f55d00
@ -219,10 +219,8 @@ namespace osu.Game.Rulesets.Objects
|
||||
|
||||
List<Vector2> subpath = PathApproximator.ApproximateCircularArc(subControlPoints);
|
||||
|
||||
// If for some reason a circular arc could not be fit to the 3 given points, or the
|
||||
// resulting radius is too large (e.g. points arranged almost linearly), fall back
|
||||
// to a numerically stable bezier approximation.
|
||||
if (subpath.Count == 0 || subpath.Count > 400)
|
||||
// If for some reason a circular arc could not be fit to the 3 given points, fall back to a numerically stable bezier approximation.
|
||||
if (subpath.Count == 0)
|
||||
break;
|
||||
|
||||
return subpath;
|
||||
|
Loading…
Reference in New Issue
Block a user