Merge pull request #110843 from allenwp/fix-glow-intensity-editor-compatibility

Fix glow intensity not showing in compatibility renderer
This commit is contained in:
Thaddeus Crews 2025-10-01 17:54:15 -05:00
commit 1c4760878b
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -1120,7 +1120,7 @@ void Environment::_validate_property(PropertyInfo &p_property) const {
p_property.usage = PROPERTY_USAGE_NO_EDITOR;
}
if (p_property.name == "glow_intensity" && glow_blend_mode == GLOW_BLEND_MODE_MIX) {
if (p_property.name == "glow_intensity" && glow_blend_mode == GLOW_BLEND_MODE_MIX && OS::get_singleton()->get_current_rendering_method() != "gl_compatibility") {
p_property.usage = PROPERTY_USAGE_NO_EDITOR;
}