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);
}
// Create the blockmap
CreateBlockmap();
// Update cache values
General.Map.IsChanged = true;
General.Map.Map.Update();

View file

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