diff options
author | Rafał Mikrut <mikrutrafal@protonmail.com> | 2021-02-09 18:24:36 +0100 |
---|---|---|
committer | Rafał Mikrut <mikrutrafal@protonmail.com> | 2021-02-09 18:24:36 +0100 |
commit | 7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e (patch) | |
tree | 9560a84f1300e2466338426f2e267adba6a06a53 /scene/main/shader_globals_override.cpp | |
parent | df9c98e107b19fc50bc5ae9f7ed624d693c0fb32 (diff) | |
download | redot-engine-7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e.tar.gz |
Initialize class variables with default values in scene/ [2/2]
Diffstat (limited to 'scene/main/shader_globals_override.cpp')
-rw-r--r-- | scene/main/shader_globals_override.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/main/shader_globals_override.cpp b/scene/main/shader_globals_override.cpp index 4485cffff5..b6b2982155 100644 --- a/scene/main/shader_globals_override.cpp +++ b/scene/main/shader_globals_override.cpp @@ -277,6 +277,4 @@ void ShaderGlobalsOverride::_bind_methods() { ClassDB::bind_method(D_METHOD("_activate"), &ShaderGlobalsOverride::_activate); } -ShaderGlobalsOverride::ShaderGlobalsOverride() { - active = false; -} +ShaderGlobalsOverride::ShaderGlobalsOverride() {} |