From 1a72aeeb24635cd87fd091bc0a263e2baf072abc Mon Sep 17 00:00:00 2001 From: Ruan Lucas <79365912+RuanLucasGD@users.noreply.github.com> Date: Fri, 21 Jul 2023 22:15:43 -0400 Subject: [PATCH] disable edit tangent buttons when select multiple values --- Source/Editor/CustomEditors/Dedicated/SplineEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/CustomEditors/Dedicated/SplineEditor.cs b/Source/Editor/CustomEditors/Dedicated/SplineEditor.cs index ca442d66f..c33690e25 100644 --- a/Source/Editor/CustomEditors/Dedicated/SplineEditor.cs +++ b/Source/Editor/CustomEditors/Dedicated/SplineEditor.cs @@ -349,7 +349,7 @@ namespace FlaxEditor.CustomEditors.Dedicated private bool CanSetTangentMode() { - return HasPointSelected || HasTangentsSelected; + return !HasDifferentTypes && !HasDifferentValues && (HasPointSelected || HasTangentsSelected); } private bool CanSetTangentSmoothIn()