Changeset 5089 in orxonox.OLD for trunk/src/lib/coord
- Timestamp:
- Aug 21, 2005, 8:17:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.cc
r5088 r5089 95 95 if (this->toDirection != NULL) 96 96 delete this->toDirection; 97 98 97 } 99 98 … … 575 574 } 576 575 577 if(likely(this->parentMode & PNODE_MOVEMENT ))576 if(likely(this->parentMode & PNODE_MOVEMENT && this->bRelCoorChanged)) 578 577 { 579 578 /* update the current absCoordinate */ … … 581 580 this->absCoordinate = this->parent->getAbsCoor() + this->relCoordinate; 582 581 } 583 else if( this->parentMode & PNODE_ROTATE_MOVEMENT )582 else if( this->parentMode & PNODE_ROTATE_MOVEMENT && this->bRelCoorChanged) 584 583 { 585 584 /* update the current absCoordinate */
Note: See TracChangeset
for help on using the changeset viewer.