From 601d741b7ee94eac8e555ff971b88a2327aa9b54 Mon Sep 17 00:00:00 2001 From: biwa <6475593+biwa@users.noreply.github.com> Date: Sun, 1 Nov 2020 23:08:41 +0100 Subject: [PATCH] Vertices Mode: fixed a potential crash when deleting/dissolving vertices --- Source/Plugins/BuilderModes/ClassicModes/VerticesMode.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Plugins/BuilderModes/ClassicModes/VerticesMode.cs b/Source/Plugins/BuilderModes/ClassicModes/VerticesMode.cs index 33aadb99..f36f09cc 100755 --- a/Source/Plugins/BuilderModes/ClassicModes/VerticesMode.cs +++ b/Source/Plugins/BuilderModes/ClassicModes/VerticesMode.cs @@ -1007,6 +1007,9 @@ namespace CodeImp.DoomBuilder.BuilderModes General.Map.IsChanged = true; General.Map.Map.Update(); + // Create the blockmap + CreateBlockmap(); + // Invoke a new mousemove so that the highlighted item updates MouseEventArgs e = new MouseEventArgs(MouseButtons.None, 0, (int)mousepos.x, (int)mousepos.y, 0); OnMouseMove(e); @@ -1086,6 +1089,9 @@ namespace CodeImp.DoomBuilder.BuilderModes General.Map.Map.Update(); General.Map.IsChanged = true; + // Create the blockmap + CreateBlockmap(); + // Invoke a new mousemove so that the highlighted item updates MouseEventArgs e = new MouseEventArgs(MouseButtons.None, 0, (int)mousepos.x, (int)mousepos.y, 0); OnMouseMove(e);