Changeset 10578 for code/branches/core7/src/libraries/core/BaseObject.cc
- Timestamp:
- Sep 9, 2015, 4:10:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/BaseObject.cc
r10576 r10578 77 77 { 78 78 this->setFile(this->creator_->getFile()); 79 this->setNamespace(this->creator_->namespace_); 80 this->setScene(this->creator_->scene_, this->creator_->sceneID_); 81 this->setGametype(this->creator_->gametype_); 82 this->setLevel(this->creator_->level_); 79 80 // store strong-pointers on all four base objects by default (can be overwritten with weak-ptr after the constructor if necessary) 81 this->setNamespace(this->creator_->namespace_.createStrongPtr()); 82 this->setScene (this->creator_->scene_ .createStrongPtr(), this->creator_->sceneID_); 83 this->setGametype (this->creator_->gametype_ .createStrongPtr()); 84 this->setLevel (this->creator_->level_ .createStrongPtr()); 83 85 } 84 86 else
Note: See TracChangeset
for help on using the changeset viewer.