Humble beginnings of box volume too. Allow to save and restore GeomInput state.

This commit is contained in:
Mikko Mononen
2010-01-29 13:58:36 +00:00
parent d6a5eb5ee2
commit 1753297fd5
15 changed files with 1961 additions and 257 deletions

View File

@@ -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());
}
}