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 efd19296bd
commit 28aa7e4481
2 changed files with 9 additions and 0 deletions

View File

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

View File

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