Changeset 4989 in orxonox.OLD for orxonox/trunk/src/lib/coord
- Timestamp:
- Aug 12, 2005, 4:37:06 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/p_node.cc
r4988 r4989 420 420 void PNode::softReparent(PNode* parentNode) 421 421 { 422 //this->setRelCoorSoft(this->getRelCoor()); 422 423 if (likely(this->toPosition == NULL)) 424 { 423 425 this->toPosition = new Vector(); 424 425 *this->toPosition = this->getRelCoor(); 426 *this->toPosition = this->getRelCoor(); 427 } 428 426 429 427 430 Vector tmp = this->getAbsCoor();
Note: See TracChangeset
for help on using the changeset viewer.