Changeset 10562 for code/branches/core7/src/libraries
- Timestamp:
- Aug 29, 2015, 11:15:28 PM (9 years ago)
- Location:
- code/branches/core7/src/libraries
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/Namespace.cc
r10555 r10562 105 105 void Namespace::loadObjects(BaseObject* object) 106 106 { 107 object->setNamespace(this);108 107 } 109 108 -
code/branches/core7/src/libraries/network/synchronisable/Synchronisable.cc
r10362 r10562 182 182 no->setClassID(header.getClassID()); 183 183 assert(no->contextID_ == header.getContextID()); 184 if( context )185 {186 BaseObject* boContext = orxonox_cast<BaseObject*>(context);187 if (boContext)188 bo->setLevel(boContext->getLevel()); // Note: this ensures that the level is known on the client for child objects of the scene (and the scene itself)189 }190 184 //assert(no->classID_ == header.getClassID()); 191 185 orxout(verbose, context::network) << "fabricate objectID_: " << no->objectID_ << " classID_: " << no->classID_ << endl;
Note: See TracChangeset
for help on using the changeset viewer.