[3.x] Allow disabling the RegEx module in the editor

This commit is contained in:
Aaron Franke
2021-08-31 00:26:40 -05:00
parent be6b7b4f9f
commit 6c4928fe69
5 changed files with 26 additions and 5 deletions

View File

@@ -30,6 +30,8 @@
#include "rename_dialog.h"
#ifdef MODULE_REGEX_ENABLED
#include "core/print_string.h"
#include "editor_node.h"
#include "editor_scale.h"
@@ -656,3 +658,5 @@ void RenameDialog::_features_toggled(bool pressed) {
size.y = 0;
set_size(size);
}
#endif // MODULE_REGEX_ENABLED