git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@358 92aac97c-a6ce-11dd-a772-7fcde58d38e6
This commit is contained in:
parent
3ccc537378
commit
367f6b3cac
|
@ -65,6 +65,8 @@ void ConstraintSolver::allocate() {
|
|||
}
|
||||
}
|
||||
|
||||
assert(nbConstraints > 0);
|
||||
|
||||
// Compute the number of bodies that are part of some active constraint
|
||||
nbBodies = bodyNumberMapping.size();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user