mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-09-29 13:36:22 +00:00
Humble beginnings of box volume too. Allow to save and restore GeomInput state.
This commit is contained in:
@@ -112,8 +112,6 @@ void OffMeshConnectionTool::handleClick(const float* p, bool shift)
|
||||
{
|
||||
geom->deleteOffMeshConnection(nearestIndex);
|
||||
}
|
||||
|
||||
// geom->updateOffMeshConnectionVisibility(m_sample->getNavMesh());
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -127,7 +125,6 @@ void OffMeshConnectionTool::handleClick(const float* p, bool shift)
|
||||
{
|
||||
geom->addOffMeshConnection(m_hitPos, p, m_sample->getAgentRadius(), m_bidir ? 1 : 0);
|
||||
m_hitPosSet = false;
|
||||
// geom->updateOffMeshConnectionVisibility(m_sample->getNavMesh());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user