Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-09-10 07:07:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-10 07:07:26 +0400
commit0128218254df07f804b15088036a1e7ef4938664 (patch)
tree7413c64bd110b4c4a171e2f9f3c725c3dfb314d5 /source/gameengine
parent23b843130b5aa77988ac158bb11addcccec01e68 (diff)
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
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/Ketsji/KX_NavMeshObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_NavMeshObject.cpp b/source/gameengine/Ketsji/KX_NavMeshObject.cpp
index a474ee984c5..293fc6eaa08 100644
--- a/source/gameengine/Ketsji/KX_NavMeshObject.cpp
+++ b/source/gameengine/Ketsji/KX_NavMeshObject.cpp
@@ -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;
}