Browse Source

Fix BulletSoftBodyControl compilation

rdb 12 years ago
parent
commit
3b33710fbf
2 changed files with 4 additions and 1 deletions
  1. 3 0
      panda/src/bullet/Sources.pp
  2. 1 1
      panda/src/bullet/bulletSoftBodyControl.h

+ 3 - 0
panda/src/bullet/Sources.pp

@@ -42,6 +42,7 @@
     bulletShape.h bulletShape.I \
     bulletSliderConstraint.h bulletSliderConstraint.I \
     bulletSoftBodyConfig.h bulletSoftBodyConfig.I \
+    bulletSoftBodyControl.h bulletSoftBodyControl.I \
     bulletSoftBodyMaterial.h bulletSoftBodyMaterial.I \
     bulletSoftBodyNode.h bulletSoftBodyNode.I \
     bulletSoftBodyShape.h bulletSoftBodyShape.I \
@@ -90,6 +91,7 @@
     bulletShape.cxx \
     bulletSliderConstraint.cxx \
     bulletSoftBodyConfig.cxx \
+    bulletSoftBodyControl.cxx \
     bulletSoftBodyMaterial.cxx \
     bulletSoftBodyNode.cxx \
     bulletSoftBodyShape.cxx \
@@ -138,6 +140,7 @@
     bulletShape.h bulletShape.I \
     bulletSliderConstraint.h bulletSliderConstraint.I \
     bulletSoftBodyConfig.h bulletSoftBodyConfig.I \
+    bulletSoftBodyControl.h bulletSoftBodyControl.I \
     bulletSoftBodyMaterial.h bulletSoftBodyMaterial.I \
     bulletSoftBodyNode.h bulletSoftBodyNode.I \
     bulletSoftBodyShape.h bulletSoftBodyShape.I \

+ 1 - 1
panda/src/bullet/bulletSoftBodyControl.h

@@ -30,7 +30,7 @@ class EXPCL_PANDABULLET BulletSoftBodyControl : public btSoftBody::AJoint::ICont
 
 PUBLISHED:
   BulletSoftBodyControl();
-  ~BulletSoftBodyControl();
+  virtual ~BulletSoftBodyControl();
 
   // Motor
   INLINE void set_goal(PN_stdfloat goal);