mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Remove dead code from navmesh tool
This commit is contained in:
parent
9a1343b231
commit
e9cbe34a95
@ -392,9 +392,7 @@ dtNavMesh* Editor::loadAll(std::string path)
|
||||
return 0;
|
||||
}
|
||||
|
||||
dtTileRef result;
|
||||
mesh->addTile(data, tileHeader.dataSize, DT_TILE_FREE_DATA, tileHeader.tileRef, &result);
|
||||
auto tile = const_cast<dtMeshTile*>(mesh->getTileByRef(result));
|
||||
mesh->addTile(data, tileHeader.dataSize, DT_TILE_FREE_DATA, tileHeader.tileRef, NULL);
|
||||
}
|
||||
|
||||
fclose(fp);
|
||||
|
@ -731,8 +731,6 @@ void Editor_TileMesh::buildAllTiles()
|
||||
const int ts = (int)m_tileSize;
|
||||
const int tw = (gw + ts-1) / ts;
|
||||
const int th = (gh + ts-1) / ts;
|
||||
const float tcs = m_tileSize*m_cellSize;
|
||||
|
||||
|
||||
// Start the build process.
|
||||
m_ctx->startTimer(RC_TIMER_TEMP);
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include "Pch.h"
|
||||
#include "NavEditor/Include/MeshLoaderBsp.h"
|
||||
|
||||
bool rcMeshLoaderBsp::load(const std::string& filename)
|
||||
bool rcMeshLoaderBsp::load(const std::string& /*filename*/)
|
||||
{
|
||||
#if 0
|
||||
//we expect lumps to be in same dir
|
||||
|
Loading…
x
Reference in New Issue
Block a user