diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-10 13:38:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-10 13:38:38 +0400 |
commit | 357febc168cb13981f277b32f1ea2e3488b05b99 (patch) | |
tree | 84cc46ed9754929e577e1b59c715297a7c1d59ff /source/gameengine/Ketsji | |
parent | 8ed1c07a7b21d916f149dfa00649579165c45979 (diff) |
fix for building with collada and some other warnings
Diffstat (limited to 'source/gameengine/Ketsji')
-rw-r--r-- | source/gameengine/Ketsji/KX_NavMeshObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_NavMeshObject.cpp b/source/gameengine/Ketsji/KX_NavMeshObject.cpp index 293fc6eaa08..9fd87b03d29 100644 --- a/source/gameengine/Ketsji/KX_NavMeshObject.cpp +++ b/source/gameengine/Ketsji/KX_NavMeshObject.cpp @@ -237,7 +237,7 @@ bool KX_NavMeshObject::BuildVertIndArrays(float *&vertices, int& nverts, copy_v3_v3(vert, pos); else { - memset(vert, NULL, 3*sizeof(float)); //vertex isn't in any poly, set dummy zero coordinates + memset(vert, 0, 3*sizeof(float)); //vertex isn't in any poly, set dummy zero coordinates } vert+=3; } |