Changeset 2213
- Timestamp:
- Nov 17, 2008, 9:32:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/WorldEntity.cc
r2207 r2213 72 72 { 73 73 this->node_->detachAllObjects(); 74 75 for (std::set<WorldEntity*>::const_iterator it = this->children_.begin(); it != this->children_.end(); ++it) 76 delete (*it); 77 74 78 if (this->getScene()->getSceneManager()) 75 79 this->getScene()->getSceneManager()->destroySceneNode(this->node_->getName());
Note: See TracChangeset
for help on using the changeset viewer.