mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
Merge pull request #1830 from pacomont/Fix_NavMeshUpdate_not_working
Fix for NavPath is not updated when navMesh has change.
This commit is contained in:
commit
6cad7b6248
1 changed files with 1 additions and 1 deletions
|
|
@ -838,7 +838,7 @@ void NavMesh::buildNextTile()
|
|||
ctx->stopTimer(RC_TIMER_TOTAL);
|
||||
if(getEventManager())
|
||||
{
|
||||
String str = String::ToString("%d %.3f", getId(), ctx->getAccumulatedTime(RC_TIMER_TOTAL) / 1000.0f);
|
||||
String str = String::ToString("%d", getId());
|
||||
getEventManager()->postEvent("NavMeshUpdate", str.c_str());
|
||||
setMaskBits(LoadFlag);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue