Closed GoogleCodeExporter closed 8 years ago
Fixed in R274. The problem was that in case there is only one polygon, the tile
and poly bits are 0, and saltBits becomes 32. This will cause problems when
calculating the saltMask using 32 bit uint:
const dtPolyRef saltMask = ((dtPolyRef)1<<m_saltBits)-1;
There was earlier request to allow 0 polyMask, so I clamped saltBits to 31.
Should be enough for everyone.
Original comment by memono...@gmail.com
on 9 Feb 2011 at 6:54
Original issue reported on code.google.com by
xadhoom...@googlemail.com
on 9 Feb 2011 at 4:39