swordlegend / recastnavigation

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

cfg.borderSize not initialised #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
cfg.borderSize is not set. It does not seem to cause a problem in the demo,
but when using the demo code to create your own implementation it causes a
difficult to find crash when in release.

Using SVN revision: 96

Original issue reported on code.google.com by anguslau...@gmail.com on 11 Jan 2010 at 12:01

GoogleCodeExporter commented 9 years ago
There is memset(&m_cfg, 0, sizeof(m_cfg)), just before when the settings are
initialized. Maybe I should comment that to make it more obvious. Or 
alternatively I
could use a constructor for that.

Original comment by memono...@gmail.com on 13 Jan 2010 at 7:17

GoogleCodeExporter commented 9 years ago
Are yes. Sorry i didint notice that!!

Original comment by anguslau...@gmail.com on 13 Jan 2010 at 8:59

GoogleCodeExporter commented 9 years ago

Original comment by memono...@gmail.com on 27 Jan 2010 at 2:16