diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-04 16:20:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 16:20:48 +0100 |
commit | 8e13b93bf78e4440e2012cec4940b8e3318daac1 (patch) | |
tree | 9517c56d9b9e0bacbf1c1955a31f6472ee573e55 /scene/2d/light_2d.h | |
parent | 89f605c717e271050a6cc61547ea3d25996a19c4 (diff) | |
parent | 424cd00f8b14aa51aad82c52996740d7648ae691 (diff) |
Merge pull request #43310 from akien-mga/doc-classref-sync
doc: Sync classref with current source
Diffstat (limited to 'scene/2d/light_2d.h')
-rw-r--r-- | scene/2d/light_2d.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/2d/light_2d.h b/scene/2d/light_2d.h index 5f53fa227a..7dfeddc8e5 100644 --- a/scene/2d/light_2d.h +++ b/scene/2d/light_2d.h @@ -58,7 +58,6 @@ private: Color color; Color shadow_color; float height; - float _scale; float energy; int z_min; int z_max; @@ -139,7 +138,7 @@ class PointLight2D : public Light2D { GDCLASS(PointLight2D, Light2D); private: - float _scale; + float _scale = 1.0; Ref<Texture2D> texture; Vector2 texture_offset; @@ -172,7 +171,6 @@ public: String get_configuration_warning() const override; PointLight2D(); - ~PointLight2D(); }; class DirectionalLight2D : public Light2D { |