Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2008, 12:48:11 AM (16 years ago)
Author:
landauf
Message:

bugs—
network++
endurance—
tiredness++

but it still doesn't work properly
(commit because oli is very impatient)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/network/Synchronisable.cc

    r2035 r2041  
    7777    if (creator)
    7878    {
    79         if (creator->isA(Class(Synchronisable)))
     79        Synchronisable* synchronisable_creator = dynamic_cast<Synchronisable*>(creator);
     80        if (synchronisable_creator && synchronisable_creator->objectMode_)
    8081        {
    81             Synchronisable* synchronisable_creator = dynamic_cast<Synchronisable*>(creator);
    8282            this->creatorID = synchronisable_creator->getObjectID();
    8383        }
     
    147147    synchronisableHeader *header = (synchronisableHeader *)mem;
    148148
    149     COUT(3) << "fabricating object with id: " << header->objectID << std::endl;
     149    COUT(4) << "fabricating object with id: " << header->objectID << std::endl;
    150150
    151151    orxonox::Identifier* id = ClassByID(header->classID);
     
    170170    no->creatorID=header->creatorID; //TODO: remove this
    171171    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;
    173173          // update data and create object/entity...
    174174    bool b = no->updateData(mem, mode, true);
Note: See TracChangeset for help on using the changeset viewer.