Editor: Cleanup some includes dependencies

Removes some unnecessary includes from `editor_node.h`, and instead add
those where they're used.

Removes unnecessary `editor_node.h` includes in various editor classes.

Renames `dynamicfont` to `dynamic_font` in a couple files.

Misc cleanup while jumping through that rabbit hole.
This commit is contained in:
Rémi Verschelde
2022-02-14 14:00:03 +01:00
parent 1d910b1e58
commit 11572c6e30
142 changed files with 161 additions and 248 deletions

View File

@@ -33,12 +33,7 @@
#include "core/os/keyboard.h"
#include "core/string/print_string.h"
#include "core/string/translation.h"
#include "line_edit.h"
#ifdef TOOLS_ENABLED
#include "editor/editor_node.h"
#include "scene/main/window.h" // Only used to check for more modals when dimming the editor.
#endif
#include "scene/gui/line_edit.h"
// AcceptDialog