mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 12:50:52 +00:00
Sectors Mode: potentially fixed some crashes related to determining thing sectors
This commit is contained in:
parent
a790f224db
commit
547aec7541
1 changed files with 9 additions and 0 deletions
|
@ -2018,6 +2018,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
|
||||
// Recreate the blockmap since it shouldn't include the deleted sectors anymore
|
||||
CreateBlockmap();
|
||||
|
||||
// Clear the cache of things that already got their sector determined
|
||||
determinedsectorthings = new HashSet<Thing>();
|
||||
}
|
||||
|
||||
if(selectedthings.Count > 0 || selectedsectors.Count > 0)
|
||||
|
@ -2077,6 +2080,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
// Recreate the blockmap
|
||||
CreateBlockmap();
|
||||
|
||||
// Clear the cache of things that already got their sector determined
|
||||
determinedsectorthings = new HashSet<Thing>();
|
||||
|
||||
//mxd. Update
|
||||
UpdateOverlaySurfaces();
|
||||
UpdateEffectLabels();
|
||||
|
@ -2122,6 +2128,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
// Recreate the blockmap
|
||||
CreateBlockmap();
|
||||
|
||||
// Clear the cache of things that already got their sector determined
|
||||
determinedsectorthings = new HashSet<Thing>();
|
||||
|
||||
//mxd. Update
|
||||
UpdateOverlaySurfaces();
|
||||
UpdateEffectLabels();
|
||||
|
|
Loading…
Reference in a new issue