Changeset 9852 for code/branches/radarDreiD/src
- Timestamp:
- Dec 2, 2013, 3:42:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/radarDreiD/src/modules/overlays/hud/HUDRadar.cc
r9847 r9852 75 75 this->map3DFront_->setMaterialName("Orxonox/Radar3DFront"); 76 76 this->overlay_->add2D(this->map3DFront_); 77 //this->map3DFront_->_setDimensions(0.17f, 0.17f);78 //this->map3DFront_->_setPosition(1.0, 1.0);79 //this->map3DFront_->_notifyZOrder(this->overlay_->getZOrder() * 100 + 10);80 77 this->map3DFront_->hide(); 81 78 … … 84 81 this->map3DBack_->setMaterialName("Orxonox/Radar3DBack"); 85 82 this->overlay_->add2D(this->map3DBack_); 86 //this->map3DBack_->_setDimensions(0.17f, 0.17f);87 //this->map3DBack_->_setPosition(1.0, 1.0);88 //this->map3DBack_->_notifyZOrder(this->overlay_->getZOrder() * 100 - 10);89 83 this->map3DBack_->hide(); 90 84 … … 199 193 { 200 194 this->setBackgroundMaterial(material3D_); 195 this->map3DFront_->_notifyZOrder(this->overlay_->getZOrder() * 100 + 10); 196 this->map3DBack_->_notifyZOrder(this->overlay_->getZOrder() * 100 - 10); 201 197 this->map3DFront_->show(); 202 198 this->map3DBack_->show(); 203 199 } 204 200 else 201 { 205 202 this->setBackgroundMaterial(material2D_); 206 203 this->map3DFront_->hide(); 207 204 this->map3DBack_->hide(); 208 205 } 209 206 210 207 for( it = this->radarObjects_.begin(); it != this->radarObjects_.end(); ++it )
Note: See TracChangeset
for help on using the changeset viewer.