Remove unnecessary check
This commit is contained in:
@@ -1109,11 +1109,6 @@ void NavMeshBuilder::Build(Scene* scene, const BoundingBox& dirtyBounds, float t
|
|||||||
LOG(Warning, "Could not generate navmesh without scene.");
|
LOG(Warning, "Could not generate navmesh without scene.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!&dirtyBounds)
|
|
||||||
{
|
|
||||||
LOG(Warning, "Could not generate navmesh without dirty bounds.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Early out if scene is not using navigation
|
// Early out if scene is not using navigation
|
||||||
if (scene->Navigation.Volumes.IsEmpty())
|
if (scene->Navigation.Volumes.IsEmpty())
|
||||||
|
|||||||
Reference in New Issue
Block a user