summaryrefslogtreecommitdiff
path: root/editor/plugins/material_editor_plugin.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-02-14 14:00:03 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-02-15 14:54:15 +0100
commit11572c6e309692b62554ae852dfa8fb8943bcbd7 (patch)
tree32280e24a2957b4edf32157f40a43a602ff147fb /editor/plugins/material_editor_plugin.h
parent1d910b1e5868814938d644ff181cf30d75516762 (diff)
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.
Diffstat (limited to 'editor/plugins/material_editor_plugin.h')
-rw-r--r--editor/plugins/material_editor_plugin.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/editor/plugins/material_editor_plugin.h b/editor/plugins/material_editor_plugin.h
index 5b4af6ba46..9c6247d59b 100644
--- a/editor/plugins/material_editor_plugin.h
+++ b/editor/plugins/material_editor_plugin.h
@@ -31,17 +31,15 @@
#ifndef MATERIAL_EDITOR_PLUGIN_H
#define MATERIAL_EDITOR_PLUGIN_H
-#include "editor/property_editor.h"
-#include "scene/resources/primitive_meshes.h"
-
#include "editor/editor_plugin.h"
+#include "editor/property_editor.h"
#include "scene/3d/camera_3d.h"
#include "scene/3d/light_3d.h"
#include "scene/3d/mesh_instance_3d.h"
#include "scene/gui/color_rect.h"
#include "scene/resources/material.h"
+#include "scene/resources/primitive_meshes.h"
-class EditorNode;
class SubViewportContainer;
class MaterialEditor : public Control {