mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: some minor consistency changes
UI displays navmesh as NavMesh, changed it everywhere for consistency.
This commit is contained in:
parent
11a827d548
commit
63d85f0db5
@ -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();
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user