Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6070 in orxonox.OLD for trunk/src/lib/coord


Ignore:
Timestamp:
Dec 12, 2005, 6:13:31 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: suppression file and minor fixes

Location:
trunk/src/lib/coord
Files:
2 edited

Legend:

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

    r5300 r6070  
    3333  this->setName("NullParent");
    3434
     35  while (!this->getNodesChildren().empty())
     36    delete this->getNodesChildren().front();
     37
    3538  this->setParentMode(PNODE_ALL);
    3639  NullParent::singletonRef = this;
  • trunk/src/lib/coord/p_node.h

    r6054 r6070  
    7171//! Patent Node is a Engine to calculate the position of an Object in respect to the position of its parent.
    7272class PNode : virtual public BaseObject {
    73 
    7473 public:
    7574  PNode ();
     
    137136  void removeChild (PNode* child);
    138137  void removeNode();
     138  const std::list<PNode*>& getNodesChildren() const { return this->children; };
    139139
    140140  /** @param parent the new parent of this node */
Note: See TracChangeset for help on using the changeset viewer.