Changeset 2515 for code/branches
- Timestamp:
- Dec 21, 2008, 3:13:57 PM (16 years ago)
- Location:
- code/branches/presentation/src/orxonox/objects/collisionshapes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/collisionshapes/CollisionShape.cc
r2514 r2515 80 80 void CollisionShape::registerVariables() 81 81 { 82 registerVariable(this->parentID_, variableDirection::toclient, new NetworkCallback<CollisionShape>(this, &CollisionShape::parentChanged Callback));82 registerVariable(this->parentID_, variableDirection::toclient, new NetworkCallback<CollisionShape>(this, &CollisionShape::parentChanged)); 83 83 } 84 84 -
code/branches/presentation/src/orxonox/objects/collisionshapes/CollisionShape.h
r2514 r2515 81 81 virtual void updateParent(); 82 82 virtual void parentChanged(); 83 // Note: This is required because the NetworkCallback will not call functions virtually84 void parentChangedCallback() { this->parentChanged(); }85 83 virtual btCollisionShape* createNewShape() const = 0; 86 84
Note: See TracChangeset
for help on using the changeset viewer.