From 424cd00f8b14aa51aad82c52996740d7648ae691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 4 Nov 2020 15:38:26 +0100 Subject: doc: Sync classref with current source + fixup some bindings Includes various changes triggered by the refactoring of method bindings. --- scene/2d/light_2d.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scene/2d/light_2d.h') 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 texture; Vector2 texture_offset; @@ -172,7 +171,6 @@ public: String get_configuration_warning() const override; PointLight2D(); - ~PointLight2D(); }; class DirectionalLight2D : public Light2D { -- cgit v1.2.3