- Timestamp:
- May 17, 2010, 2:36:42 PM (15 years ago)
- Location:
- code/branches/hudelements/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.cc
r6899 r6907 100 100 { 101 101 activeObjectListType::iterator it; 102 for( it = activeObjectList_.begin(); it!=activeObjectList_.end(); ++it)102 for( it = activeObjectList_.begin(); it!=activeObjectList_.end(); ) 103 103 { 104 removeObject( it->first);104 removeObject((it++)->first); 105 105 } 106 106 activeObjectList_.clear(); -
code/branches/hudelements/src/orxonox/interfaces/RadarViewable.cc
r6727 r6907 52 52 53 53 this->uniqueId_=getUniqueNumberString(); 54 this->creator_->getScene()->getRadar()->addRadarObject(this); 54 this->radar_ = this->creator_->getScene()->getRadar(); 55 this->radar_->addRadarObject(this); 55 56 this->bInitialized_ = true; 56 57 } … … 60 61 { 61 62 if( this->bInitialized_ ) 62 this-> creator_->getScene()->getRadar()->removeRadarObject(this);63 this->radar_->removeRadarObject(this); 63 64 } 64 65 … … 100 101 void RadarViewable::settingsChanged() 101 102 { 102 this-> creator_->getScene()->getRadar()->radarObjectChanged(this);103 this->radar_->radarObjectChanged(this); 103 104 } 104 105 } -
code/branches/hudelements/src/orxonox/interfaces/RadarViewable.h
r6727 r6907 37 37 #include "util/Math.h" 38 38 #include "core/OrxonoxClass.h" 39 #include "core/SmartPtr.h" 39 40 40 41 namespace orxonox … … 132 133 133 134 //Radar 135 SmartPtr<Radar> radar_; 134 136 float radarObjectCamouflage_; 135 137 Shape radarObjectShape_;
Note: See TracChangeset
for help on using the changeset viewer.