mirror of
https://github.com/godotengine/godot.git
synced 2026-05-12 22:35:35 +00:00
Fix DirectionalLight3D property list
(cherry picked from commit cd1d676c28)
This commit is contained in:
@@ -552,7 +552,6 @@ void DirectionalLight3D::_validate_property(PropertyInfo &p_property) const {
|
||||
p_property.usage = PROPERTY_USAGE_NO_EDITOR;
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user