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,11 +33,11 @@
#include "core/object/undo_redo.h"
#include "core/templates/list.h"
#include "core/templates/pair.h"
#include "editor/editor_plugin.h"
#include "editor/plugins/script_editor_plugin.h"
#include "scene/resources/texture.h"
class ConfigFile;
class EditorPlugin;
class EditorHistory {
enum {
HISTORY_MAX = 64
@ -59,8 +59,6 @@ class EditorHistory {
Vector<History> history;
int current;
//Vector<EditorPlugin*> editor_plugins;
struct PropertyData {
String name;
Variant value;