Allow disabling the RegEx module in the editor

This commit is contained in:
Aaron Franke
2021-08-30 20:28:37 -05:00
parent 520462e98c
commit 4fc639916c
5 changed files with 27 additions and 12 deletions

View File

@ -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