Fixed bug that causes the grid to be incorrect after opening/closing the info panel

This commit is contained in:
codeimp 2009-04-09 08:26:05 +00:00
parent d46b5cb4e3
commit 387b6111ad

View file

@ -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