diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-26 21:39:06 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-26 21:39:06 +0100 |
commit | 0cd148313213e2923004be65bafd6a3781c917ec (patch) | |
tree | 2d9524085097ea4530ac97f043937ebd069ff4db /editor | |
parent | 93b80f17dcaa4dc5fa5392c271e0d971b00ac669 (diff) | |
parent | c69b14e96e3191622c06aa1e98c7f15f1fc895d4 (diff) |
Merge pull request #73959 from clayjohn/GL-mobile-warnings
Add warnings for unsupported features in mobile and gl_compatibility backends
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 6580340af4..7feb0146bc 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -7922,7 +7922,9 @@ void Node3DEditor::_load_default_preview_settings() { environ_sky_color->set_pick_color(Color(0.385, 0.454, 0.55)); environ_ground_color->set_pick_color(Color(0.2, 0.169, 0.133)); environ_energy->set_value(1.0); - environ_glow_button->set_pressed(true); + if (OS::get_singleton()->get_current_rendering_method() != "gl_compatibility") { + environ_glow_button->set_pressed(true); + } environ_tonemap_button->set_pressed(true); environ_ao_button->set_pressed(false); environ_gi_button->set_pressed(false); |