ソースを参照

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

Fix glow intensity not showing in compatibility renderer
Thaddeus Crews 2 週間 前
コミット
1c4760878b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      scene/resources/environment.cpp

+ 1 - 1
scene/resources/environment.cpp

@@ -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;
 	}