Skip to content

Commit 1c47608

Browse files
committed
Merge pull request #110843 from allenwp/fix-glow-intensity-editor-compatibility
Fix glow intensity not showing in compatibility renderer
2 parents be9f6b4 + 3101d75 commit 1c47608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/resources/environment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ void Environment::_validate_property(PropertyInfo &p_property) const {
11201120
p_property.usage = PROPERTY_USAGE_NO_EDITOR;
11211121
}
11221122

1123-
if (p_property.name == "glow_intensity" && glow_blend_mode == GLOW_BLEND_MODE_MIX) {
1123+
if (p_property.name == "glow_intensity" && glow_blend_mode == GLOW_BLEND_MODE_MIX && OS::get_singleton()->get_current_rendering_method() != "gl_compatibility") {
11241124
p_property.usage = PROPERTY_USAGE_NO_EDITOR;
11251125
}
11261126

0 commit comments

Comments
 (0)