diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-15 09:24:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 09:24:34 +0200 |
commit | f79958a30e1808b8ea71c6c051e7d41f073876fe (patch) | |
tree | 84ae1c93e4d8bc013358f18d7e51dfbe9604c3b7 /editor/rename_dialog.cpp | |
parent | b3349e4c68e86c85dd8f07ac0c50ffb57f0659d1 (diff) | |
parent | 06568bbfdfbecb489d3263f6df1e7d298642cd61 (diff) |
Merge pull request #50468 from akien-mga/cleanup-header-includes
Misc cleanup of header includes
Diffstat (limited to 'editor/rename_dialog.cpp')
-rw-r--r-- | editor/rename_dialog.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/editor/rename_dialog.cpp b/editor/rename_dialog.cpp index 0f15d4b119..87fbbbcfb8 100644 --- a/editor/rename_dialog.cpp +++ b/editor/rename_dialog.cpp @@ -35,12 +35,18 @@ #include "editor_scale.h" #include "editor_settings.h" #include "editor_themes.h" -#include "modules/regex/regex.h" #include "plugins/script_editor_plugin.h" #include "scene/gui/control.h" #include "scene/gui/label.h" #include "scene/gui/tab_container.h" +#include "modules/modules_enabled.gen.h" +#ifdef MODULE_REGEX_ENABLED +#include "modules/regex/regex.h" +#else +#error "Can't build editor rename dialog without RegEx module." +#endif + RenameDialog::RenameDialog(SceneTreeEditor *p_scene_tree_editor, UndoRedo *p_undo_redo) { scene_tree_editor = p_scene_tree_editor; undo_redo = p_undo_redo; |