File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -554,7 +554,8 @@ void DirectionalLight3D::_validate_property(PropertyInfo &p_property) const {
554554 // Splits 3 and 4 are only used with the PSSM 4 Splits shadow mode.
555555 p_property.usage = PROPERTY_USAGE_NO_EDITOR;
556556 }
557- } else if (p_property.name == " light_size" || p_property.name == " light_projector" ) {
557+ }
558+ if (p_property.name == " light_size" || p_property.name == " light_projector" ) {
558559 // Not implemented in DirectionalLight3D (`light_size` is replaced by `light_angular_distance`).
559560 p_property.usage = PROPERTY_USAGE_NONE;
560561 } 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" ) {
You can’t perform that action at this time.
0 commit comments