summaryrefslogtreecommitdiff
path: root/scene/2d/light_2d.h
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2021-03-03 20:51:35 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2021-03-03 20:51:35 -0300
commit4be282a269bb298c04afb4741fe0f5f99716cd59 (patch)
tree21fb04b65b3e5a2e0df3090d673e8bb9790ebe3f /scene/2d/light_2d.h
parent864caf571164dea655a7c1f9d9b423195653dee2 (diff)
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);