Changeset 2535 for code/branches/presentation/src/orxonox/objects/Scene.cc
- Timestamp:
- Dec 28, 2008, 7:15:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/Scene.cc
r2491 r2535 208 208 it != this->physicalObjects_.end(); ++it) 209 209 { 210 this->physicalWorld_->removeRigidBody((*it)-> getPhysicalBody());210 this->physicalWorld_->removeRigidBody((*it)->physicalBody_); 211 211 this->physicalObjectQueue_.insert(*it); 212 212 } … … 243 243 it != this->physicalObjectQueue_.end(); ++it) 244 244 { 245 this->physicalWorld_->addRigidBody((*it)-> getPhysicalBody());245 this->physicalWorld_->addRigidBody((*it)->physicalBody_); 246 246 this->physicalObjects_.insert(*it); 247 247 } … … 330 330 331 331 if (this->hasPhysics()) 332 this->physicalWorld_->removeRigidBody(object-> getPhysicalBody());332 this->physicalWorld_->removeRigidBody(object->physicalBody_); 333 333 } 334 334
Note: See TracChangeset
for help on using the changeset viewer.