summaryrefslogtreecommitdiff
path: root/scene/2d/light_2d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-03-07 15:12:15 +0100
committerGitHub <noreply@github.com>2021-03-07 15:12:15 +0100
commitc487f1e85464181754ce48761dff7e241f27f994 (patch)
tree37bddb123c30b7b2eaeb40ba8e1928bb757ada69 /scene/2d/light_2d.h
parentafd0df79215c260f3b9a9544e5ca1b606f4365c0 (diff)
parent4be282a269bb298c04afb4741fe0f5f99716cd59 (diff)
Merge pull request #46643 from YeldhamDev/hide_all_the_things
Hide more options of disabled properties
Diffstat (limited to 'scene/2d/light_2d.h')
-rw-r--r--scene/2d/light_2d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/light_2d.h b/scene/2d/light_2d.h
index 4279baf15b..de8a2bb6d0 100644
--- a/scene/2d/light_2d.h
+++ b/scene/2d/light_2d.h
@@ -77,6 +77,7 @@ protected:
_FORCE_INLINE_ RID _get_light() const { return canvas_light; }
void _notification(int p_what);
static void _bind_methods();
+ void _validate_property(PropertyInfo &property) const override;
public:
void set_enabled(bool p_enabled);