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:
authorNick Samarin <nicks1987@bigmir.net>2010-07-21 13:16:27 +0400
committerNick Samarin <nicks1987@bigmir.net>2010-07-21 13:16:27 +0400
commite8d129cc76bf4f1d47085232dc729aaeba0e4d3a (patch)
tree64d0a25c106931af99e6372efcbfcc0589436175 /source/gameengine/Ketsji/KX_NavMeshObject.h
parentb4b9e01f8d1d72a92df03c954063cb02b24d580e (diff)
- added custom get function for navmesh property of steering actuator to accept only objects with NavMesh physics type
- fixed the access to KX_SteeringActuator attributes from scripts - added enum members for KX_SteeringActuator and KX_NavMeshObject to GameLogic dictionary
Diffstat (limited to 'source/gameengine/Ketsji/KX_NavMeshObject.h')
-rw-r--r--source/gameengine/Ketsji/KX_NavMeshObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_NavMeshObject.h b/source/gameengine/Ketsji/KX_NavMeshObject.h
index d7b0fe033c2..5161b723844 100644
--- a/source/gameengine/Ketsji/KX_NavMeshObject.h
+++ b/source/gameengine/Ketsji/KX_NavMeshObject.h
@@ -61,7 +61,7 @@ public:
int FindPath(const MT_Point3& from, const MT_Point3& to, float* path, int maxPathLen);
float Raycast(const MT_Point3& from, const MT_Point3& to);
- enum NavMeshRenderMode {RM_WALLS, RM_POLYS, RM_TRIS};
+ enum NavMeshRenderMode {RM_WALLS, RM_POLYS, RM_TRIS, RM_MAX};
void DrawNavMesh(NavMeshRenderMode mode);
void DrawPath(const float *path, int pathLen, const MT_Vector3& color);