summaryrefslogtreecommitdiffstats
path: root/scene/resources/sky.cpp
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal@protonmail.com>2021-02-09 18:24:36 +0100
committerRafał Mikrut <mikrutrafal@protonmail.com>2021-02-09 18:24:36 +0100
commit7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e (patch)
tree9560a84f1300e2466338426f2e267adba6a06a53 /scene/resources/sky.cpp
parentdf9c98e107b19fc50bc5ae9f7ed624d693c0fb32 (diff)
downloadredot-engine-7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e.tar.gz
Initialize class variables with default values in scene/ [2/2]
Diffstat (limited to 'scene/resources/sky.cpp')
-rw-r--r--scene/resources/sky.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/scene/resources/sky.cpp b/scene/resources/sky.cpp
index 8fcd92bb89..71424ba8ac 100644
--- a/scene/resources/sky.cpp
+++ b/scene/resources/sky.cpp
@@ -102,8 +102,6 @@ void Sky::_bind_methods() {
}
Sky::Sky() {
- mode = PROCESS_MODE_AUTOMATIC;
- radiance_size = RADIANCE_SIZE_256;
sky = RS::get_singleton()->sky_create();
}