From 4fc639916c096ebe9bf52907c35c9e4bc8ef36b9 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Mon, 30 Aug 2021 20:28:37 -0500 Subject: Allow disabling the RegEx module in the editor --- editor/rename_dialog.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'editor/rename_dialog.h') diff --git a/editor/rename_dialog.h b/editor/rename_dialog.h index 76e99e3b66..7990862b37 100644 --- a/editor/rename_dialog.h +++ b/editor/rename_dialog.h @@ -31,6 +31,9 @@ #ifndef RENAME_DIALOG_H #define RENAME_DIALOG_H +#include "modules/modules_enabled.gen.h" +#ifdef MODULE_REGEX_ENABLED + #include "scene/gui/check_box.h" #include "scene/gui/dialogs.h" #include "scene/gui/option_button.h" @@ -113,4 +116,6 @@ public: ~RenameDialog() {} }; -#endif +#endif // MODULE_REGEX_ENABLED + +#endif // RENAME_DIALOG_H -- cgit v1.2.3