recast and detour patch now builds again with GCC
- rearrange structs to work for 64bit - define all vars before goto's - ifdefs for qsort_r/qsort_s - dont cast pointers to int only for NULL checks - dont printf STR_String directly, get the char pointer from it also minor change to gpu py module, no need to pass empty tuple to PyObject_CallObject, can just be NULL
This commit is contained in:
@@ -282,7 +282,7 @@ bool KX_NavMeshObject::BuildNavMesh()
|
||||
|
||||
if (GetMeshCount()==0)
|
||||
{
|
||||
printf("Can't find mesh for navmesh object: %s \n", m_name);
|
||||
printf("Can't find mesh for navmesh object: %s \n", m_name.ReadPtr());
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -294,7 +294,7 @@ bool KX_NavMeshObject::BuildNavMesh()
|
||||
dmeshes, dvertices, ndvertsuniq, dtris, ndtris, vertsPerPoly )
|
||||
|| vertsPerPoly<3)
|
||||
{
|
||||
printf("Can't build navigation mesh data for object:%s \n", m_name);
|
||||
printf("Can't build navigation mesh data for object:%s \n", m_name.ReadPtr());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user