From ccd919d4d645a53a666870a484d0ec6aef53eabb Mon Sep 17 00:00:00 2001 From: Wojciech Figat Date: Wed, 4 Jan 2023 14:29:00 +0100 Subject: [PATCH] Fix default value in viewport options --- Source/Editor/Options/ViewportOptions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Editor/Options/ViewportOptions.cs b/Source/Editor/Options/ViewportOptions.cs index 7f42d36d0..7807a535f 100644 --- a/Source/Editor/Options/ViewportOptions.cs +++ b/Source/Editor/Options/ViewportOptions.cs @@ -35,14 +35,14 @@ namespace FlaxEditor.Options /// /// Gets or sets the default near clipping plane distance for the viewport camera. /// - [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; /// /// Gets or sets the default far clipping plane distance for the viewport camera. /// - [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;