- Timestamp:
- Sep 30, 2009, 12:42:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/network/synchronisable/Synchronisable.cc
r5797 r5839 72 72 73 73 // get creator id 74 this->creatorID = OBJECTID_UNKNOWN; 75 76 searchcreatorID: 74 if( creator ) 75 this->creatorID = creator->getSceneID(); 76 else 77 this->creatorID = OBJECTID_UNKNOWN; 78 79 /*searchcreatorID: 77 80 if (creator) 78 81 { … … 80 83 if (synchronisable_creator && synchronisable_creator->objectMode_) 81 84 { 82 this->creatorID = synchronisable_creator->get ObjectID();85 this->creatorID = synchronisable_creator->getScene()->getObjectID(); 83 86 } 84 87 else if (creator != creator->getCreator()) … … 87 90 goto searchcreatorID; 88 91 } 89 } 92 }*/ 90 93 } 91 94 … … 173 176 assert(no); 174 177 no->objectID=header.getObjectID(); 175 no->creatorID=header.getCreatorID(); //TODO: remove this178 //no->creatorID=header.getCreatorID(); //TODO: remove this 176 179 no->classID=header.getClassID(); 180 assert(no->creatorID == header.getCreatorID()); 181 //assert(no->classID == header.getClassID()); 177 182 COUT(4) << "fabricate objectID: " << no->objectID << " classID: " << no->classID << std::endl; 178 183 // update data and create object/entity...
Note: See TracChangeset
for help on using the changeset viewer.