fixed some outstanding issues with Bullet soft bodies:
[blender.git] / extern / bullet2 / src / BulletSoftBody / btSoftBody.h
index 7a6bfd53205cdbb33bd826d4e2d59c9203a60f80..b6d7c17b754e2dc57c94c081a350c26a6db5e24d 100644 (file)
@@ -609,6 +609,11 @@ public:
 
        btAlignedObjectArray<int>       m_userIndexMapping;
 
+       btSoftBodyWorldInfo*    getWorldInfo()
+       {
+               return m_worldInfo;
+       }
+
        virtual void    setCollisionShape(btCollisionShape* collisionShape)
        {
                //don't do anything, due to the internal shape hack: todo: fix this