Linedefs Mode: fixed a problem where after splitting a linedef the insert vertex preview would not work correctly

Vertices Mode: fixed a problem where after inserting a vertext the insert vertex preview would not work correctly
This commit is contained in:
biwa 2020-11-06 20:14:00 +01:00 committed by spherallic
parent 541c754a78
commit 6318a096df
2 changed files with 10 additions and 1 deletions

View File

@ -1889,6 +1889,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
//BuilderPlug.Me.AdjustSplitCoordinates(ld, sld); //BuilderPlug.Me.AdjustSplitCoordinates(ld, sld);
} }
// Create the blockmap
CreateBlockmap();
// Update cache values // Update cache values
General.Map.IsChanged = true; General.Map.IsChanged = true;
General.Map.Map.Update(); General.Map.Map.Update();

View File

@ -371,7 +371,10 @@ namespace CodeImp.DoomBuilder.BuilderModes
return; return;
} }
//BuilderPlug.Me.AdjustSplitCoordinates(l, sld); //BuilderPlug.Me.AdjustSplitCoordinates(l, sld);
// Create the blockmap
CreateBlockmap();
// Update // Update
General.Map.Map.Update(); General.Map.Map.Update();
@ -986,6 +989,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
General.Interface.DisplayStatus(StatusType.Action, "Inserted a vertex."); General.Interface.DisplayStatus(StatusType.Action, "Inserted a vertex.");
} }
// Create the blockmap
CreateBlockmap();
// Update // Update
General.Map.Map.Update(); General.Map.Map.Update();