fix bug in btSoftBodyHelpers, flags the wrong linked index-pairs.

Thanks to basarugur for the fix:
http://code.google.com/p/bullet/issues/detail?id=172
This commit is contained in:
erwin.coumans
2009-01-19 07:15:23 +00:00
parent 0e3b04d952
commit fb15a0ab27

View File

@@ -821,7 +821,7 @@ btSoftBody* btSoftBodyHelpers::CreateFromTriMesh(btSoftBodyWorldInfo& worldInfo
if(!chks[IDX(idx[j],idx[k])])
{
chks[IDX(idx[j],idx[k])]=true;
chks[IDX(idx[k],idx[k])]=true;
chks[IDX(idx[k],idx[j])]=true;
psb->appendLink(idx[j],idx[k]);
}
}