senoutouya / recastnavigation

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

Changing "Verts Per Poly" crashes app #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you change the number of "Verts Per Poly" and rebuild a nav-mesh then the 
application will crash

- Open Recast Demo
- Select "Solo Mesh Tiles"
- Select "Nav_Test.obj"
- Click "Build"
- Change "Verts Per Poly" to 3
- Click "Build"
- *Crash*

Original issue reported on code.google.com by armstron...@gmail.com on 23 Feb 2010 at 11:29

GoogleCodeExporter commented 9 years ago
FYI: This happened on version 1.4 and I've just got the latest from SVN - and 
it's 
crashing on the trunk too

Original comment by armstron...@gmail.com on 23 Feb 2010 at 4:57

GoogleCodeExporter commented 9 years ago
Auch, that was nasty to find:

    static const int nvp = mesh.nvp;

Should definitely not be static!

Fixed in R139.

Original comment by memono...@gmail.com on 2 Mar 2010 at 10:05