Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9656 in orxonox.OLD for trunk/src/lib/coord/p_node.cc


Ignore:
Timestamp:
Aug 4, 2006, 11:01:28 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the proxy bache back with no conflicts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/coord/p_node.cc

    r9406 r9656  
    5454    parent->addChild(this);
    5555
    56   this->relCoordinate_handle = this->registerVarId( new SynchronizeableVector( &relCoordinate, &relCoordinate_write, "coordinate" ) );
    57   this->relDirection_handle = this->registerVarId( new SynchronizeableQuaternion( &relDirection, &relDirection_write, "direction" ) );
     56  this->relCoordinate_handle = this->registerVarId( new SynchronizeableVector( &relCoordinate, &relCoordinate_write, "coordinate", PERMISSION_SERVER ) );
     57  this->relDirection_handle = this->registerVarId( new SynchronizeableQuaternion( &relDirection, &relDirection_write, "direction", PERMISSION_SERVER ) );
    5858}
    5959
     
    487487void PNode::addChild (PNode* child)
    488488{
     489  if (unlikely(child->parent == this))
     490    return;
    489491  if( likely(child->parent != NULL))
    490492    child->parent->eraseChild(child);
     
    749751{
    750752  const PNode* parent = this;
     753  if (this == NULL)
     754    return true;
    751755  while ( (parent = parent->getParent()) != NULL)
    752756    if (unlikely(parent == checkParent))
Note: See TracChangeset for help on using the changeset viewer.