diff --git a/Source/Plugins/BuilderModes/ClassicModes/SectorsMode.cs b/Source/Plugins/BuilderModes/ClassicModes/SectorsMode.cs index 2a38520b..c72d780a 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(); } 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(); + //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(); + //mxd. Update UpdateOverlaySurfaces(); UpdateEffectLabels();