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) --- modules/navigation/navigation_mesh_editor_plugin.cpp | 1 + modules/navigation/navigation_mesh_editor_plugin.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/navigation') diff --git a/modules/navigation/navigation_mesh_editor_plugin.cpp b/modules/navigation/navigation_mesh_editor_plugin.cpp index 6db3cbc1a3..af02bff4ca 100644 --- a/modules/navigation/navigation_mesh_editor_plugin.cpp +++ b/modules/navigation/navigation_mesh_editor_plugin.cpp @@ -33,6 +33,7 @@ #include "core/io/marshalls.h" #include "core/io/resource_saver.h" +#include "editor/editor_node.h" #include "navigation_mesh_generator.h" #include "scene/3d/mesh_instance_3d.h" #include "scene/gui/box_container.h" diff --git a/modules/navigation/navigation_mesh_editor_plugin.h b/modules/navigation/navigation_mesh_editor_plugin.h index 6517a7be5b..49ca28d3cf 100644 --- a/modules/navigation/navigation_mesh_editor_plugin.h +++ b/modules/navigation/navigation_mesh_editor_plugin.h @@ -33,9 +33,9 @@ #ifdef TOOLS_ENABLED -#include "editor/editor_node.h" #include "editor/editor_plugin.h" +class EditorNode; class NavigationRegion3D; class NavigationMeshEditor : public Control { -- cgit v1.2.3