diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2009-12-04 14:27:40 +0300 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2009-12-04 14:27:40 +0300 |
commit | 0b6873a776552bd47c305ee1bc4e629a76da0037 (patch) | |
tree | a64b73ec3bba5adfc5e6cf23722fd93fcdec8a4e /extern/bullet2/src/BulletSoftBody | |
parent | 1dcca75e047a54630c9c005c994fa3b21d6863cd (diff) |
BGE: Add option to return UV coordinates aofthe hit point to KX_GameObject::rayCast(). Details in PyDoc.
Diffstat (limited to 'extern/bullet2/src/BulletSoftBody')
-rw-r--r-- | extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp b/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp index 6ab93c16402..4f81b0953a2 100644 --- a/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp +++ b/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp @@ -828,7 +828,8 @@ btSoftBody* btSoftBodyHelpers::CreateFromTriMesh(btSoftBodyWorldInfo& worldInfo #undef IDX psb->appendFace(idx[0],idx[1],idx[2]); } - psb->randomizeConstraints(); + // don't randomize now, let's give a chance to the application to set face data + //psb->randomizeConstraints(); return(psb); } |