I's not working because onNavMeshUpdate string comparation will never succeed.1830/head
commit87fb2d827b4fb0b93821aa120ad8206ea4fec961
authorFrancisco Montañés García <fco.gmon@gmail.com>
Thu, 24 Nov 2016 18:09:00 +0000 (24 19:09 +0100)
committerFrancisco Montañés García <fco.gmon@gmail.com>
Thu, 24 Nov 2016 18:09:00 +0000 (24 19:09 +0100)
tree731f5a8242147c73c905f66c2e7532607df59c2a
parent6097c48c5df40e5adfd3f9fb6ee83aaf956129be
I's not working because  onNavMeshUpdate string comparation will never succeed.

DefineEngineMethod(NavPath, onNavMeshUpdate, void, (const char *data),,
   "@brief Callback when this path's NavMesh is loaded or rebuilt.")
{
   if(object->mMesh && !dStrcmp(data, object->mMesh->getIdString()))
      object->plan();
}
Engine/source/navigation/navMesh.cpp