From b23d418f237ac1300e2420ed307269600c8842cb Mon Sep 17 00:00:00 2001 From: WiggleWizard <1405402+WiggleWizard@users.noreply.github.com> Date: Sun, 15 Sep 2024 23:14:23 +0100 Subject: [PATCH] Compile issues fixed --- Editor/src/ComponentsPanel/NavMeshVolumePanel.h | 4 +++- Editor/src/Misc/GizmoDrawer.cpp | 2 +- Editor/src/Windows/EditorSelectionPanel.cpp | 1 + Editor/src/Windows/EditorSelectionPanel.h | 1 - 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Editor/src/ComponentsPanel/NavMeshVolumePanel.h b/Editor/src/ComponentsPanel/NavMeshVolumePanel.h index 9fe7fae7..b6c8e878 100644 --- a/Editor/src/ComponentsPanel/NavMeshVolumePanel.h +++ b/Editor/src/ComponentsPanel/NavMeshVolumePanel.h @@ -3,6 +3,8 @@ #include #include +#include "src/AI/NavManager.h" +#include "src/Scene/Components/QuakeMap.h" #include #include @@ -384,4 +386,4 @@ public: } EndComponentTable(); } -}; \ No newline at end of file +}; diff --git a/Editor/src/Misc/GizmoDrawer.cpp b/Editor/src/Misc/GizmoDrawer.cpp index e8aaadea..8571bdd1 100644 --- a/Editor/src/Misc/GizmoDrawer.cpp +++ b/Editor/src/Misc/GizmoDrawer.cpp @@ -8,6 +8,7 @@ #include #include #include +#include "src/Scene/Components/RigidbodyComponent.h" #include #include @@ -26,7 +27,6 @@ #include #include - GizmoDrawer::GizmoDrawer(EditorInterface* editor) { m_LineShader = Nuake::ShaderManager::GetShader("Resources/Shaders/line.shader"); diff --git a/Editor/src/Windows/EditorSelectionPanel.cpp b/Editor/src/Windows/EditorSelectionPanel.cpp index 0e66433d..c4f35310 100644 --- a/Editor/src/Windows/EditorSelectionPanel.cpp +++ b/Editor/src/Windows/EditorSelectionPanel.cpp @@ -4,6 +4,7 @@ #include "../Misc/ImGuiTextHelper.h" #include #include "src/Scene/Components/FieldTypes.h" +#include "../ComponentsPanel/MaterialEditor.h" #include #include diff --git a/Editor/src/Windows/EditorSelectionPanel.h b/Editor/src/Windows/EditorSelectionPanel.h index 8788ff56..3594f801 100644 --- a/Editor/src/Windows/EditorSelectionPanel.h +++ b/Editor/src/Windows/EditorSelectionPanel.h @@ -13,7 +13,6 @@ #include "../ComponentsPanel/BoxColliderPanel.h" #include "../ComponentsPanel/CapsuleColliderPanel.h" #include "../ComponentsPanel/CylinderColliderPanel.h" -#include "../ComponentsPanel/SphereColliderPanel.h" #include "../ComponentsPanel/MeshColliderPanel.h" #include "../ComponentsPanel/CharacterControllerPanel.h" #include "../ComponentsPanel/BonePanel.h"