diff options
author | Nick Samarin <nicks1987@bigmir.net> | 2010-06-26 01:08:23 +0400 |
---|---|---|
committer | Nick Samarin <nicks1987@bigmir.net> | 2010-06-26 01:08:23 +0400 |
commit | 4fb80f36e2a89ab9ea144cf56761d7a74b3c1638 (patch) | |
tree | 5146075733d498f10a3bedce586685b0c7be2aab /source/gameengine/Ketsji/KX_NavMeshObject.cpp | |
parent | 543e64c601af9f2c7c49125f7f9590723750c09f (diff) |
added actual creation of navigation mesh for navmesh modifier
Diffstat (limited to 'source/gameengine/Ketsji/KX_NavMeshObject.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_NavMeshObject.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_NavMeshObject.cpp b/source/gameengine/Ketsji/KX_NavMeshObject.cpp index 2c423558768..f4fea3f29f6 100644 --- a/source/gameengine/Ketsji/KX_NavMeshObject.cpp +++ b/source/gameengine/Ketsji/KX_NavMeshObject.cpp @@ -115,8 +115,6 @@ bool KX_NavMeshObject::BuildVertIndArrays(RAS_MeshObject* meshobj, float *&verti MFace *mface = dm->getFaceArray(dm); int numpolys = dm->getNumFaces(dm); int numverts = dm->getNumVerts(dm); - int* index = (int*)dm->getFaceDataArray(dm, CD_ORIGINDEX); - MTFace *tface = (MTFace *)dm->getFaceDataArray(dm, CD_MTFACE); nverts = numverts; if (nverts >= 0xffff) |