From b396fd4eef36d23fa7325b13a4b8e120f1f000c9 Mon Sep 17 00:00:00 2001 From: Hendrik Brucker Date: Sat, 12 Feb 2022 02:46:22 +0100 Subject: Improve compilation speed (forward declarations/includes cleanup) --- editor/plugins/tiles/tile_proxies_manager_dialog.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'editor/plugins/tiles/tile_proxies_manager_dialog.h') diff --git a/editor/plugins/tiles/tile_proxies_manager_dialog.h b/editor/plugins/tiles/tile_proxies_manager_dialog.h index b235d44982..4c8741c660 100644 --- a/editor/plugins/tiles/tile_proxies_manager_dialog.h +++ b/editor/plugins/tiles/tile_proxies_manager_dialog.h @@ -31,13 +31,14 @@ #ifndef TILE_PROXIES_MANAGER_DIALOG_H #define TILE_PROXIES_MANAGER_DIALOG_H -#include "editor/editor_node.h" #include "editor/editor_properties.h" #include "scene/2d/tile_map.h" #include "scene/gui/dialogs.h" #include "scene/gui/item_list.h" +class EditorNode; + class TileProxiesManagerDialog : public ConfirmationDialog { GDCLASS(TileProxiesManagerDialog, ConfirmationDialog); @@ -45,7 +46,7 @@ private: int commited_actions_count = 0; Ref tile_set; - UndoRedo *undo_redo = EditorNode::get_singleton()->get_undo_redo(); + UndoRedo *undo_redo; TileMapCell from; TileMapCell to; -- cgit v1.2.3