mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 14:31:50 +00:00
Fixed bug that causes the grid to be incorrect after opening/closing the info panel
This commit is contained in:
parent
d46b5cb4e3
commit
387b6111ad
1 changed files with 7 additions and 0 deletions
|
@ -442,6 +442,13 @@ namespace CodeImp.DoomBuilder.Rendering
|
|||
stream.WriteRange<FlatVertex>(verts);
|
||||
screenverts.Unlock();
|
||||
stream.Dispose();
|
||||
|
||||
// Force update of view
|
||||
lastgridscale = -1f;
|
||||
lastgridsize = 0;
|
||||
lastgridx = 0.0f;
|
||||
lastgridy = 0.0f;
|
||||
UpdateTransformations();
|
||||
}
|
||||
|
||||
// This makes screen vertices for display
|
||||
|
|
Loading…
Reference in a new issue