Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 8, 2009, 10:56:29 PM (15 years ago)
Author:
rgrieder
Message:

Fixed CameraManager issue with the fallback scene by assigning each Scene a CameraManager directly.
Use this→getScene()→getCameraManager() to get the camera manager.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/orxonox/Scene.h

    r5839 r5911  
    7373            inline Radar* getRadar()
    7474                { return this->radar_; }
     75
     76            inline CameraManager* getCameraManager()
     77                { return this->cameraManager_.get(); }
    7578           
    7679            inline virtual uint32_t getSceneID() const { return this->getObjectID(); }
     
    97100            bool                     bShadows_;
    98101            Radar*                   radar_;
     102            SmartPtr<CameraManager>  cameraManager_;
    99103
    100104
Note: See TracChangeset for help on using the changeset viewer.