mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Add comment covering intentional call to ClearTransformsAfter
This commit is contained in:
parent
9f997db958
commit
19faa2b9bb
@ -149,8 +149,10 @@ namespace osu.Game.Rulesets.Judgements
|
||||
|
||||
private void runAnimation()
|
||||
{
|
||||
// undo any transforms applies in ApplyMissAnimations/ApplyHitAnimations to get a sane initial state.
|
||||
ApplyTransformsAt(double.MinValue, true);
|
||||
ClearTransforms(true);
|
||||
|
||||
LifetimeStart = Result.TimeAbsolute;
|
||||
|
||||
using (BeginAbsoluteSequence(Result.TimeAbsolute, true))
|
||||
|
@ -439,6 +439,8 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
private void clearExistingStateTransforms()
|
||||
{
|
||||
base.ApplyTransformsAt(double.MinValue, true);
|
||||
|
||||
// has to call this method directly (not ClearTransforms) to bypass the local ClearTransformsAfter override.
|
||||
base.ClearTransformsAfter(double.MinValue, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user