Changeset 6218 for code/branches/presentation2/src/orxonox/overlays
- Timestamp:
- Dec 2, 2009, 10:20:37 PM (15 years ago)
- Location:
- code/branches/presentation2/src/orxonox/overlays
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/overlays/Map.cc
r5929 r6218 94 94 95 95 //Getting Scene Manager (Hack) 96 if( !sManager_ ) 97 { 98 ObjectList<Scene>::iterator it = ObjectList<Scene>::begin(); 99 this->sManager_ = it->getSceneManager(); 100 } 96 ObjectList<Scene>::iterator it = ObjectList<Scene>::begin(); 97 this->sManager_ = it->getSceneManager(); 101 98 if( !Map::getMapSceneManager() ) 102 99 { -
code/branches/presentation2/src/orxonox/overlays/OrxonoxOverlay.cc
r6057 r6218 83 83 // Get aspect ratio from the render window. Later on, we get informed automatically 84 84 this->windowAspectRatio_ = static_cast<float>(this->getWindowWidth()) / this->getWindowHeight(); 85 this->sizeCorrectionChanged(); 86 87 this-> changedVisibility();88 89 setSize(Vector2(1.0f, 1.0f));90 setPickPoint(Vector2(0.0f, 0.0f));91 setPosition(Vector2(0.0f, 0.0f));92 setRotation(Degree(0.0));93 setAspectCorrection(false); 85 86 this->size_ = Vector2(1.0f, 1.0f); 87 this->pickPoint_= Vector2(0.0f, 0.0f); 88 this->position_ = Vector2(0.0f, 0.0f); 89 this->angle_ = Degree(0.0); 90 this->bCorrectAspect_ = false; 91 this->rotState_ = Horizontal; 92 this->angleChanged(); // updates all other values as well 93 94 94 setBackgroundMaterial(""); 95 95 }
Note: See TracChangeset
for help on using the changeset viewer.