Skip to content

Commit

Permalink
Remove render mode presets
Browse files Browse the repository at this point in the history
Fiddling with the backface culling and far clipping checkboxes when changing render mode is incompatible with storing all of those in the config file, as the mode stomps on the checkboxes when loading settings. Having those checkboxes changed out from under me is also proving to be quite annoying.
  • Loading branch information
ItEndsWithTens committed Jun 5, 2024
1 parent 18f335a commit 315d4a3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion src/SHME.ExternalTool.Extras/RoamingSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static class DefaultRoamingSettings

public static readonly bool EnableOverlayCameraReporting;
public static readonly bool ReadLevelDataOnStageLoad;
public static readonly bool Antialiasing;
public static readonly bool Antialiasing = true;
public static readonly bool BackfaceCulling;
public static readonly bool FarClipping = true;
public static readonly decimal CrosshairLength = 2.5m;
Expand Down
15 changes: 0 additions & 15 deletions src/SHME.ExternalTool/UI/BasicsTab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -360,21 +360,6 @@ private void CbxReadLevelDataOnStageLoad_CheckedChanged(object sender, EventArgs
_levelDataNeedsUpdate = true;
}

private void CmbRenderMode_SelectedIndexChanged(object sender, EventArgs e)
{
switch (CmbRenderMode.SelectedIndex)
{
case 1:
CbxBackfaceCulling.Checked = true;
CbxFarClipping.Checked = true;
break;
default:
CbxBackfaceCulling.Checked = false;
CbxFarClipping.Checked = true;
break;
}
}

private void Emu_StateLoaded(object sender, StateLoadedEventArgs e)
{
Pois.Clear();
Expand Down
1 change: 0 additions & 1 deletion src/SHME.ExternalTool/UI/CustomMainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 315d4a3

Please sign in to comment.