diff --git a/Source/Plugins/BuilderModes/ClassicModes/SectorsMode.cs b/Source/Plugins/BuilderModes/ClassicModes/SectorsMode.cs index 2a38520b5a67acc0b262ff8799069538fea50b39..c72d780af71c967406787f8aa47a39ed719bacbd 100755 --- a/Source/Plugins/BuilderModes/ClassicModes/SectorsMode.cs +++ b/Source/Plugins/BuilderModes/ClassicModes/SectorsMode.cs @@ -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();