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

This commit is contained in:
biwa 2020-11-01 21:29:57 +01:00 committed by spherallic
parent 710cb59719
commit e91114ce5e
1 changed files with 7 additions and 0 deletions

View File

@ -2177,6 +2177,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
//mxd. Clear selection info
General.Interface.DisplayStatus(StatusType.Selection, string.Empty);
// Recreate the blockmap
CreateBlockmap();
//mxd. Update
UpdateOverlaySurfaces();
UpdateEffectLabels();
@ -2219,6 +2222,10 @@ namespace CodeImp.DoomBuilder.BuilderModes
if (highlighted != null && !highlighted.IsDisposed)
highlightasso.Set(highlighted);
// Recreate the blockmap
CreateBlockmap();
//mxd. Update
UpdateOverlaySurfaces();
UpdateEffectLabels();