mirror of
https://github.com/osukey/osukey.git
synced 2025-05-28 08:57:25 +09:00
Fix postprocess order in batch events
This commit is contained in:
parent
09f5e9c9eb
commit
c1a8fe01ef
@ -234,25 +234,19 @@ namespace osu.Game.Screens.Edit
|
||||
applyFunction(this);
|
||||
|
||||
beatmapProcessor?.PreProcess();
|
||||
|
||||
foreach (var h in batchPendingDeletes) processHitObject(h);
|
||||
foreach (var h in batchPendingInserts) processHitObject(h);
|
||||
|
||||
beatmapProcessor?.PostProcess();
|
||||
|
||||
isBatchApplying = false;
|
||||
|
||||
foreach (var h in batchPendingDeletes)
|
||||
{
|
||||
processHitObject(h);
|
||||
HitObjectRemoved?.Invoke(h);
|
||||
}
|
||||
foreach (var h in batchPendingDeletes) HitObjectRemoved?.Invoke(h);
|
||||
foreach (var h in batchPendingInserts) HitObjectAdded?.Invoke(h);
|
||||
|
||||
batchPendingDeletes.Clear();
|
||||
|
||||
foreach (var h in batchPendingInserts)
|
||||
{
|
||||
processHitObject(h);
|
||||
HitObjectAdded?.Invoke(h);
|
||||
}
|
||||
|
||||
batchPendingInserts.Clear();
|
||||
|
||||
isBatchApplying = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
x
Reference in New Issue
Block a user