diff options
author | Micky <micheledevita2@gmail.com> | 2024-01-03 12:10:11 +0100 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2024-02-29 18:00:54 +0100 |
commit | cd2032a90b7b1a499ccf08fbf62d70e0ac9bb8fa (patch) | |
tree | b14b54af89e1c8c0a090e66a767c2f715415d819 /scene/gui/control.h | |
parent | bb6b06c81343073f10cbbd2af515cf0dac1e6549 (diff) | |
download | redot-engine-cd2032a90b7b1a499ccf08fbf62d70e0ac9bb8fa.tar.gz |
Optimise Object's `get_argument_options`
Diffstat (limited to 'scene/gui/control.h')
-rw-r--r-- | scene/gui/control.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/gui/control.h b/scene/gui/control.h index aa5147b345..bdb908e089 100644 --- a/scene/gui/control.h +++ b/scene/gui/control.h @@ -410,8 +410,10 @@ public: static void set_root_layout_direction(int p_root_dir); - virtual void get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const override; PackedStringArray get_configuration_warnings() const override; +#ifdef TOOLS_ENABLED + virtual void get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const override; +#endif virtual bool is_text_field() const; |