Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2007, 11:27:55 PM (18 years ago)
Author:
nicolasc
Message:
  • removed an not needed header
  • made cmakeclearcache safe, that it only deletes files that it should
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/orxonox.cc

    r519 r523  
    457457    // the call to reset the mouse clipping size should probably be somewhere
    458458    // else, however this works for the moment.
    459                 unsigned int width, height, depth;
    460                 int left, top;
    461                 ogre_->getRoot()->getAutoCreatedWindow()->getMetrics(width, height, depth, left, top);
    462 
    463                 const OIS::MouseState &ms = mouse_->getMouseState();
    464                 ms.width = width;
    465                 ms.height = height;
     459    unsigned int width, height, depth;
     460    int left, top;
     461    ogre_->getRoot()->getAutoCreatedWindow()->getMetrics(width, height, depth, left, top);
     462
     463    const OIS::MouseState &ms = mouse_->getMouseState();
     464    ms.width = width;
     465    ms.height = height;
    466466
    467467    ogre_->getRoot()->startRendering();
Note: See TracChangeset for help on using the changeset viewer.