Fix updating far/near settings

This commit is contained in:
KillzXGaming 2019-04-28 20:03:54 -04:00
parent 1a730f66b7
commit 5a12bcc049
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View file

@ -125,18 +125,18 @@ namespace Toolbox
private void camNearNumUD_ValueChanged(object sender, EventArgs e)
{
Runtime.CameraNear = (float)camNearNumUD.Value;
UpdateViewportSettings();
UpdateViewportSettings(true);
}
private void camFarNumUD_ValueChanged(object sender, EventArgs e)
{
Runtime.CameraFar = (float)camFarNumUD.Value;
UpdateViewportSettings();
UpdateViewportSettings(true);
}
private void btnSave_Click(object sender, EventArgs e)
{
// UpdateViewportSettings();
UpdateViewportSettings(true);
Config.Save();
this.Close();