| 52 | 
  | 
 | 
| 53 | 
  | 
  StuntDouble::StuntDouble(ObjectType objType, DataStoragePointer storage) :  | 
| 54 | 
  | 
    objType_(objType), storage_(storage), snapshotMan_(NULL),     | 
| 55 | 
< | 
    linear_(false), linearAxis_(-1), globalIndex_(-1), localIndex_(-1){ | 
| 55 | 
> | 
    linear_(false), linearAxis_(-1), globalIndex_(-1), localIndex_(-1),  | 
| 56 | 
> | 
    globalIntegrableObjectIndex_(-1){ | 
| 57 | 
  | 
    } | 
| 58 | 
  | 
 | 
| 59 | 
  | 
  StuntDouble::~StuntDouble() { | 
| 60 | 
  | 
 | 
| 61 | 
  | 
  } | 
| 62 | 
  | 
 | 
| 63 | 
< | 
  void StuntDouble::zeroForcesAndTorques() { | 
| 63 | 
> | 
  void StuntDouble::zeroForcesAndTorques() {     | 
| 64 | 
  | 
    setFrc(V3Zero); | 
| 65 | 
  | 
    setTrq(V3Zero); | 
| 66 | 
+ | 
    setParticlePot(0.0); | 
| 67 | 
  | 
  } | 
| 68 | 
  | 
  void StuntDouble::addProperty(GenericData* genData) { | 
| 69 | 
  | 
    properties_.addProperty(genData);   |