Changeset 10562 for code/branches/core7/src/orxonox
- Timestamp:
- Aug 29, 2015, 11:15:28 PM (9 years ago)
- Location:
- code/branches/core7/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/orxonox/Level.cc
r10508 r10562 134 134 { 135 135 this->objects_.push_back(object); 136 object->setGametype(this->getGametype());137 136 object->setLevel(this); 138 137 } -
code/branches/core7/src/orxonox/Scene.cc
r10555 r10562 62 62 RegisterObject(Scene); 63 63 64 this->setScene(StrongPtr<Scene>(this, false), OBJECTID_UNKNOWN);64 this->setScene(StrongPtr<Scene>(this, false), this->getObjectID()); 65 65 this->bShadows_ = true; 66 66 this->bDebugDrawPhysics_ = false; … … 316 316 { 317 317 this->objects_.push_back(object); 318 object->setScene(this, this->getObjectID());319 318 } 320 319
Note: See TracChangeset
for help on using the changeset viewer.