summaryrefslogtreecommitdiff
path: root/editor/plugins/tiles/tile_proxies_manager_dialog.cpp
diff options
context:
space:
mode:
authorHendrik Brucker <hendrik.brucker@mail.de>2022-02-12 02:46:22 +0100
committerHendrik Brucker <hendrik.brucker@mail.de>2022-02-12 02:46:22 +0100
commitb396fd4eef36d23fa7325b13a4b8e120f1f000c9 (patch)
treedab3f153b0ee03a4435bb293e68330b635d7787b /editor/plugins/tiles/tile_proxies_manager_dialog.cpp
parent36892b7fc8633d450dd54e2266147b7a5677bb97 (diff)
Improve compilation speed (forward declarations/includes cleanup)
Diffstat (limited to 'editor/plugins/tiles/tile_proxies_manager_dialog.cpp')
-rw-r--r--editor/plugins/tiles/tile_proxies_manager_dialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/tiles/tile_proxies_manager_dialog.cpp b/editor/plugins/tiles/tile_proxies_manager_dialog.cpp
index ad44da8dc9..62f3bd6356 100644
--- a/editor/plugins/tiles/tile_proxies_manager_dialog.cpp
+++ b/editor/plugins/tiles/tile_proxies_manager_dialog.cpp
@@ -30,6 +30,7 @@
#include "tile_proxies_manager_dialog.h"
+#include "editor/editor_node.h"
#include "editor/editor_scale.h"
void TileProxiesManagerDialog::_right_clicked(int p_item, Vector2 p_local_mouse_pos, Object *p_item_list) {
@@ -312,6 +313,8 @@ void TileProxiesManagerDialog::update_tile_set(Ref<TileSet> p_tile_set) {
}
TileProxiesManagerDialog::TileProxiesManagerDialog() {
+ undo_redo = EditorNode::get_singleton()->get_undo_redo();
+
// Tile proxy management window.
set_title(TTR("Tile Proxies Management"));
set_process_unhandled_key_input(true);