- Timestamp:
- Nov 1, 2008, 2:51:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/overlays/OrxonoxOverlay.cc
r2075 r2084 76 76 this->overlay_->add2D(this->background_); 77 77 78 // We'll have to get the aspect ratio manually for the first time. Afterwards windowResized() gets79 // called automatically by GSGraphics.80 this->windowAspectRatio_ = Ogre::OverlayManager::getSingleton().getViewportAspectRatio();78 // We'll have to set the aspect ratio to a default value first. 79 // GSGraphics gets informed about our construction here and can update us in the next tick. 80 this->windowAspectRatio_ = 1.0; 81 81 this->sizeCorrectionChanged(); 82 82
Note: See TracChangeset
for help on using the changeset viewer.