Fix default value in viewport options

This commit is contained in:
Wojciech Figat
2023-01-04 14:29:00 +01:00
parent 88bd5b2534
commit ccd919d4d6

View File

@@ -35,14 +35,14 @@ namespace FlaxEditor.Options
/// <summary>
/// Gets or sets the default near clipping plane distance for the viewport camera.
/// </summary>
[DefaultValue(8.0f), Limit(0.001f, 1000.0f)]
[DefaultValue(10.0f), Limit(0.001f, 1000.0f)]
[EditorDisplay("Defaults"), EditorOrder(120), Tooltip("The default near clipping plane distance for the viewport camera.")]
public float DefaultNearPlane { get; set; } = 10.0f;
/// <summary>
/// Gets or sets the default far clipping plane distance for the viewport camera.
/// </summary>
[DefaultValue(10000.0f), Limit(10.0f)]
[DefaultValue(40000.0f), Limit(10.0f)]
[EditorDisplay("Defaults"), EditorOrder(130), Tooltip("The default far clipping plane distance for the viewport camera.")]
public float DefaultFarPlane { get; set; } = 40000.0f;