[ODE] Hoser in collision_trimesh_ccylinder.cpp

Adam D. Moss adam at gimp.org
Mon Jun 21 09:13:28 MST 2004


John Miles wrote:
> Line 965 of the current version needs to be changed from
> 
> 	if (ctContacts>=(iFlags & NUMC_MASK))
> 
> to
> 
> 	if ((ctContacts>=(iFlags & NUMC_MASK)) || (ctContacts >=
> gMaxLocalContacts))
> 
> ... or memory can get trashed if more than 32 contacts are requested from
> dCollide().

Fixed.  Thanks!
--Adam
-- 
Adam D. Moss   . ,,^^   adam at gimp.org   http://www.foxbox.org/   co:3


More information about the ODE mailing list