Sectors Mode: fixed an potential crash when joining/merging sectors

This commit is contained in:
biwa 2020-11-01 21:29:57 +01:00
parent f4510aba3e
commit 41e6632b18

View file

@ -1997,6 +1997,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
//mxd. Clear selection info //mxd. Clear selection info
General.Interface.DisplayStatus(StatusType.Selection, string.Empty); General.Interface.DisplayStatus(StatusType.Selection, string.Empty);
// Recreate the blockmap
CreateBlockmap();
//mxd. Update //mxd. Update
UpdateOverlaySurfaces(); UpdateOverlaySurfaces();
UpdateEffectLabels(); UpdateEffectLabels();
@ -2036,6 +2039,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
//mxd. Clear selection info //mxd. Clear selection info
General.Interface.DisplayStatus(StatusType.Selection, string.Empty); General.Interface.DisplayStatus(StatusType.Selection, string.Empty);
// Recreate the blockmap
CreateBlockmap();
//mxd. Update //mxd. Update
UpdateOverlaySurfaces(); UpdateOverlaySurfaces();
UpdateEffectLabels(); UpdateEffectLabels();