mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 19:12:54 +08:00
Ensure BeatmapProcessor.PostProcess is run before firing HitObjectUpdated events
This commit is contained in:
parent
72a173d4fc
commit
1fcf443314
@ -207,14 +207,15 @@ namespace osu.Game.Screens.Edit
|
||||
beatmapProcessor?.PreProcess();
|
||||
|
||||
foreach (var hitObject in pendingUpdates)
|
||||
{
|
||||
processHitObject(hitObject);
|
||||
HitObjectUpdated?.Invoke(hitObject);
|
||||
}
|
||||
|
||||
pendingUpdates.Clear();
|
||||
|
||||
beatmapProcessor?.PostProcess();
|
||||
|
||||
// explicitly needs to be fired after PostProcess
|
||||
foreach (var hitObject in pendingUpdates)
|
||||
HitObjectUpdated?.Invoke(hitObject);
|
||||
|
||||
pendingUpdates.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user