Quake brushes are not deserialized correctly, meaning you can build navmesh without rebuilding the quake map first.

This commit is contained in:
Antoine Pilote
2024-07-11 15:07:54 -04:00
parent 7b48319ff5
commit 8b8e29db3f
7 changed files with 39 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ public:
{
for (auto& mesh : component.m_Brushes)
{
if (mesh.HasComponent<ModelComponent>())\
if (mesh.HasComponent<ModelComponent>())
{
TransformComponent& transformComponent = mesh.GetComponent<TransformComponent>();
for (auto& mesh : mesh.GetComponent<ModelComponent>().ModelResource->GetMeshes())