Remove unnecessary check

This commit is contained in:
Mr. Capybara
2023-11-15 12:49:20 -03:00
parent d533cf554a
commit 6aea001e94

View File

@@ -1109,11 +1109,6 @@ void NavMeshBuilder::Build(Scene* scene, const BoundingBox& dirtyBounds, float t
LOG(Warning, "Could not generate navmesh without scene.");
return;
}
if (!&dirtyBounds)
{
LOG(Warning, "Could not generate navmesh without dirty bounds.");
return;
}
// Early out if scene is not using navigation
if (scene->Navigation.Volumes.IsEmpty())