- Timestamp:
- Oct 29, 2008, 12:48:11 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/network/Synchronisable.cc
r2035 r2041 77 77 if (creator) 78 78 { 79 if (creator->isA(Class(Synchronisable))) 79 Synchronisable* synchronisable_creator = dynamic_cast<Synchronisable*>(creator); 80 if (synchronisable_creator && synchronisable_creator->objectMode_) 80 81 { 81 Synchronisable* synchronisable_creator = dynamic_cast<Synchronisable*>(creator);82 82 this->creatorID = synchronisable_creator->getObjectID(); 83 83 } … … 147 147 synchronisableHeader *header = (synchronisableHeader *)mem; 148 148 149 COUT( 3) << "fabricating object with id: " << header->objectID << std::endl;149 COUT(4) << "fabricating object with id: " << header->objectID << std::endl; 150 150 151 151 orxonox::Identifier* id = ClassByID(header->classID); … … 170 170 no->creatorID=header->creatorID; //TODO: remove this 171 171 no->classID=header->classID; 172 COUT( 3) << "fabricate objectID: " << no->objectID << " classID: " << no->classID << std::endl;172 COUT(4) << "fabricate objectID: " << no->objectID << " classID: " << no->classID << std::endl; 173 173 // update data and create object/entity... 174 174 bool b = no->updateData(mem, mode, true);
Note: See TracChangeset
for help on using the changeset viewer.