summaryrefslogtreecommitdiff
path: root/editor/plugins/node_3d_editor_plugin.cpp
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2022-08-23 15:36:35 +0300
committerGitHub <noreply@github.com>2022-08-23 15:36:35 +0300
commitfe0c216bc7d5684f66b6f9300672be6c42fb1a08 (patch)
treea69059675f2817b2176fdb64e0ab68e388283259 /editor/plugins/node_3d_editor_plugin.cpp
parent249517f1325c9d3960dab20daaa0834b7d6a237c (diff)
parent693b933b7f361eb1d93ae096f5b1deec07bc154b (diff)
Merge pull request #64587 from Calinou/editor-environment-defaults-decrease-shadow-max-distance
Decrease editor shadow maximum distance to match DirectionalLight3D default
Diffstat (limited to 'editor/plugins/node_3d_editor_plugin.cpp')
-rw-r--r--editor/plugins/node_3d_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp
index 30eb85709a..d14c2cbce3 100644
--- a/editor/plugins/node_3d_editor_plugin.cpp
+++ b/editor/plugins/node_3d_editor_plugin.cpp
@@ -7632,7 +7632,7 @@ void Node3DEditor::_load_default_preview_settings() {
environ_tonemap_button->set_pressed(true);
environ_ao_button->set_pressed(false);
environ_gi_button->set_pressed(false);
- sun_max_distance->set_value(250);
+ sun_max_distance->set_value(100);
sun_color->set_pick_color(Color(1, 1, 1));
sun_energy->set_value(1.0);