mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Allow to use zero cache size
This commit is contained in:
parent
abc51a8a17
commit
af2f4e8424
@ -72,7 +72,7 @@ namespace DetourNavigator
|
||||
|
||||
NavMeshTilesCache::Value NavMeshTilesCache::set(const osg::Vec3f& agentHalfExtents, const TilePosition& changedTile,
|
||||
const RecastMesh& recastMesh, const std::vector<OffMeshConnection>& offMeshConnections,
|
||||
NavMeshData value)
|
||||
NavMeshData&& value)
|
||||
{
|
||||
const auto navMeshSize = static_cast<std::size_t>(value.mSize);
|
||||
|
||||
|
@ -105,7 +105,7 @@ namespace DetourNavigator
|
||||
|
||||
Value set(const osg::Vec3f& agentHalfExtents, const TilePosition& changedTile,
|
||||
const RecastMesh& recastMesh, const std::vector<OffMeshConnection>& offMeshConnections,
|
||||
NavMeshData value);
|
||||
NavMeshData&& value);
|
||||
|
||||
private:
|
||||
std::mutex mMutex;
|
||||
|
Loading…
Reference in New Issue
Block a user