swordlegend / recastnavigation

Automatically exported from code.google.com/p/recastnavigation
zlib License
0 stars 0 forks source link

duDebugDrawNavMeshPoly - early out? #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
void duDebugDrawNavMeshPoly(duDebugDraw* dd, const dtNavMesh* mesh, dtPolyRef 
ref, const unsigned int col)

This does not early out if "mesh" is NULL. Seems inconsistent with similar 
functions.

Original issue reported on code.google.com by armstron...@gmail.com on 13 Apr 2010 at 10:31

GoogleCodeExporter commented 9 years ago

Original comment by memono...@gmail.com on 14 Apr 2010 at 6:50

GoogleCodeExporter commented 9 years ago
Changed the debug draw API to use references when data is assumed to be valid,
pointers are validated before used.

Fixed in R157.

Original comment by memono...@gmail.com on 15 Apr 2010 at 7:24