From cd1d676c289804787c0fbe345308c35030b667d7 Mon Sep 17 00:00:00 2001 From: kobewi Date: Sat, 7 Mar 2026 18:47:12 +0100 Subject: [PATCH] Fix DirectionalLight3D property list --- scene/3d/light_3d.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scene/3d/light_3d.cpp b/scene/3d/light_3d.cpp index 91ee328e72..e68f98d549 100644 --- a/scene/3d/light_3d.cpp +++ b/scene/3d/light_3d.cpp @@ -554,7 +554,8 @@ void DirectionalLight3D::_validate_property(PropertyInfo &p_property) const { // Splits 3 and 4 are only used with the PSSM 4 Splits shadow mode. p_property.usage = PROPERTY_USAGE_NO_EDITOR; } - } else if (p_property.name == "light_size" || p_property.name == "light_projector") { + } + if (p_property.name == "light_size" || p_property.name == "light_projector") { // Not implemented in DirectionalLight3D (`light_size` is replaced by `light_angular_distance`). p_property.usage = PROPERTY_USAGE_NONE; } else if (p_property.name == "distance_fade_enabled" || p_property.name == "distance_fade_begin" || p_property.name == "distance_fade_shadow" || p_property.name == "distance_fade_length") {