fix potential memory leaks for concave triangle meshes (<concave=true> or createCollisionShape with flags=1)
This commit is contained in:
@@ -80,6 +80,8 @@ public:
|
||||
virtual class btCollisionShape* getAllocatedCollisionShape(int /*index*/ ) {return 0;}
|
||||
virtual int getNumModels() const {return 0;}
|
||||
virtual void activateModel(int /*modelIndex*/) { }
|
||||
virtual int getNumAllocatedMeshInterfaces() const { return 0;}
|
||||
virtual class btStridingMeshInterface* getAllocatedMeshInterface(int index) {return 0;}
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user