stevefsp / critterai

Archive of CAINav Project (Inactive)
MIT License
126 stars 75 forks source link

PathCorridor.FindCorners does not update CornerData.cornerCount. #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PathCorridor.FindCorners will load the corner data buffers, but it doesn't
set the cornerCount field, which will retain its original value.

The workaround: Whenever calling FindCorners(), load the buffer's corner count 
with the return value.

int n = mCorridor.FindCorners(mCornerData);
mCornerData.cornerCount = n; // v0.3.0 bug workaround.

Original issue reported on code.google.com by steve...@gmail.com on 30 Sep 2011 at 7:20

GoogleCodeExporter commented 9 years ago
Fix applied in r345.

Original comment by steve...@gmail.com on 5 Oct 2011 at 8:44

GoogleCodeExporter commented 9 years ago
Deployed in v0.4.0

Original comment by steve...@gmail.com on 9 May 2012 at 7:55