Recast: some minor consistency changes

UI displays navmesh as NavMesh, changed it everywhere for consistency.
This commit is contained in:
Kawe Mazidjatari 2024-07-10 11:13:06 +02:00
parent 11a827d548
commit 63d85f0db5
2 changed files with 5 additions and 5 deletions

View File

@ -338,13 +338,13 @@ void Editor_TileMesh::handleTools()
int type = !m_tool ? TOOL_NONE : m_tool->type();
bool isEnabled = type == TOOL_NAVMESH_TESTER;
if (ImGui::Checkbox("Test Navmesh", &isEnabled))
if (ImGui::Checkbox("Test NavMesh", &isEnabled))
{
setTool(new NavMeshTesterTool);
}
isEnabled = type == TOOL_NAVMESH_PRUNE;
if (ImGui::Checkbox("Prune Navmesh", &isEnabled))
if (ImGui::Checkbox("Prune NavMesh", &isEnabled))
{
setTool(new NavMeshPruneTool);
}
@ -475,7 +475,7 @@ void Editor_TileMesh::handleDebugMode()
isEnabled = m_tileMeshDrawFlags & TM_DRAWFLAGS_NAVMESH;
ImGui::BeginDisabled(!hasNavMesh);
if (ImGui::Checkbox("Navmesh", &isEnabled))
if (ImGui::Checkbox("NavMesh", &isEnabled))
toggleTileMeshDrawFlag(TM_DRAWFLAGS_NAVMESH);
ImGui::EndDisabled();

View File

@ -60,7 +60,7 @@ bool duDumpPolyMeshToObj(rcPolyMesh& pmesh, duFileIO* io)
const float ch = pmesh.ch;
const float* orig = pmesh.bmin;
ioprintf(io, "# Recast Navmesh\n");
ioprintf(io, "# Recast NavMesh\n");
ioprintf(io, "o NavMesh\n");
ioprintf(io, "\n");
@ -102,7 +102,7 @@ bool duDumpPolyMeshDetailToObj(rcPolyMeshDetail& dmesh, duFileIO* io)
return false;
}
ioprintf(io, "# Recast Navmesh\n");
ioprintf(io, "# Recast NavMesh\n");
ioprintf(io, "o NavMesh\n");
ioprintf(io, "\n");