don't assert on bad input, just export the warning (todo add proper user-feedback for asserts/warning!)
This commit is contained in:
@@ -604,7 +604,6 @@ void btDiscreteDynamicsWorld::updateAabbs()
|
|||||||
{
|
{
|
||||||
//something went wrong, investigate
|
//something went wrong, investigate
|
||||||
//this assert is unwanted in 3D modelers (danger of loosing work)
|
//this assert is unwanted in 3D modelers (danger of loosing work)
|
||||||
assert(0);
|
|
||||||
body->setActivationState(DISABLE_SIMULATION);
|
body->setActivationState(DISABLE_SIMULATION);
|
||||||
|
|
||||||
static bool reportMe = true;
|
static bool reportMe = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user