Skip to content

Commit

Permalink
Reloading default resets saved preset in the same click.
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeSpork committed Sep 15, 2021
1 parent bd13089 commit cb53963
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Graphics/Shared/Inspector/LightInspector.cs
Expand Up @@ -40,6 +40,7 @@ internal static void Draw(GlobalSettings renderingSettings, LightManager lightMa
if (GUILayout.Button("Load Default Map Lights"))
{
Graphics.Instance.PresetManager.LoadMapLights(true);
Graphics.Instance.PresetManager.SaveMapLights(false);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Graphics/Shared/Setting/CameraSettings.cs
Expand Up @@ -172,7 +172,7 @@ public float NearClipPlane
set
{
if (MainCamera.stereoEnabled)
value = 0.0001f;
value = 0.01f;

if (InsideStudio)
{
Expand Down

0 comments on commit cb53963

Please sign in to comment.