mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-25 13:21:28 +00:00
Sound Propagation Mode: fixed a problem where removed sector geometry was still shown when undoing/redoing. Fixes #992
This commit is contained in:
parent
0d4778be40
commit
53c4952986
1 changed files with 6 additions and 0 deletions
|
@ -435,6 +435,9 @@ namespace CodeImp.DoomBuilder.SoundPropagationMode
|
|||
// To show things that will wake up we need to know the sector they are in
|
||||
Parallel.ForEach(General.Map.Map.Things, t => t.DetermineSector(blockmap));
|
||||
|
||||
// Recreate the overlay geometry
|
||||
UpdateData();
|
||||
|
||||
// Update
|
||||
ResetSoundPropagation();
|
||||
General.Interface.RedrawDisplay();
|
||||
|
@ -465,6 +468,9 @@ namespace CodeImp.DoomBuilder.SoundPropagationMode
|
|||
// To show things that will wake up we need to know the sector they are in
|
||||
Parallel.ForEach(General.Map.Map.Things, t => t.DetermineSector(blockmap));
|
||||
|
||||
// Recreate the overlay geometry
|
||||
UpdateData();
|
||||
|
||||
// Update
|
||||
ResetSoundPropagation();
|
||||
General.Interface.RedrawDisplay();
|
||||
|
|
Loading…
Reference in a new issue