summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-29 10:27:21 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-29 10:27:21 +0100
commit3d2c3aae4eb8bbc37a2f74cbb437aa05cf9dabc9 (patch)
tree3a1dc20c3b62f33429cb12a48d2f665c9d4cd0bd /editor/scene_tree_dock.h
parenta3e39d7e7c9cabdba6716934260d659c96e3fdc6 (diff)
parentc90d0bd84f442f3baf69096fe124035352e7b145 (diff)
Merge pull request #69062 from trollodel/lightweight_editor_mass
Use forward-declarations in big editor classes
Diffstat (limited to 'editor/scene_tree_dock.h')
-rw-r--r--editor/scene_tree_dock.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/editor/scene_tree_dock.h b/editor/scene_tree_dock.h
index 6ec9d31ca8..ac368e1aab 100644
--- a/editor/scene_tree_dock.h
+++ b/editor/scene_tree_dock.h
@@ -31,21 +31,17 @@
#ifndef SCENE_TREE_DOCK_H
#define SCENE_TREE_DOCK_H
-#include "editor/create_dialog.h"
+#include "scene_tree_editor.h"
+
#include "editor/editor_data.h"
-#include "editor/editor_quick_open.h"
-#include "editor/groups_editor.h"
-#include "editor/reparent_dialog.h"
#include "editor/script_create_dialog.h"
-#include "scene/animation/animation_player.h"
#include "scene/gui/box_container.h"
-#include "scene/gui/button.h"
-#include "scene/gui/control.h"
-#include "scene/gui/label.h"
-#include "scene/gui/popup_menu.h"
-#include "scene/gui/tree.h"
-#include "scene_tree_editor.h"
+#include "scene/resources/animation.h"
+class EditorQuickOpen;
+class MenuButton;
+class ReparentDialog;
+class ShaderCreateDialog;
class TextureRect;
#include "modules/modules_enabled.gen.h" // For regex.
@@ -53,8 +49,6 @@ class TextureRect;
class RenameDialog;
#endif // MODULE_REGEX_ENABLED
-class ShaderCreateDialog;
-
class SceneTreeDock : public VBoxContainer {
GDCLASS(SceneTreeDock, VBoxContainer);