bulletphysics/bullet3 — pull request #259 by AlexanderPolyakov (2014-10-07 15:42:17+00:00)
Title: Fix for use of uninitialized variables.

m_implicitShapeDimensions was used in setMargin, called from setSafeMargin
from constructors of btBoxShape, btCylinerShape and btBox2dShape,
effectively using uninitialized variable and leading to floating point
exceptions.
It was working correctly only because in the same constructor
m_implicitShapeDimensions was reinitialized after setSafeMargin.
Properly initialize variable before use by first setting it up and only
then using it in setSafeMargin.