summaryrefslogtreecommitdiffstats
path: root/scene/3d/light.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-06-12 23:36:33 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-06-12 23:37:31 -0300
commitb21d45e4e1d49863a58aa0da42161fbaa6cc3d74 (patch)
treee9e2628b3949374194c9aa5a3a7a393204256004 /scene/3d/light.cpp
parentea6cb22329480a8fb17f754af36d6842ecbc51ac (diff)
downloadredot-engine-b21d45e4e1d49863a58aa0da42161fbaa6cc3d74.tar.gz
Change Omni light default mode to Cube, avoids users confusing it as a bug, closes #8813
Diffstat (limited to 'scene/3d/light.cpp')
-rw-r--r--scene/3d/light.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/light.cpp b/scene/3d/light.cpp
index 6ab65d3994..d8dd4916b9 100644
--- a/scene/3d/light.cpp
+++ b/scene/3d/light.cpp
@@ -371,7 +371,7 @@ void OmniLight::_bind_methods() {
OmniLight::OmniLight()
: Light(VisualServer::LIGHT_OMNI) {
- set_shadow_mode(SHADOW_DUAL_PARABOLOID);
+ set_shadow_mode(SHADOW_CUBE);
set_shadow_detail(SHADOW_DETAIL_HORIZONTAL);
}