Ignore:
Timestamp:
05/02/06 13:45:28 (19 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/OgreIlluminationManager.h

    r836 r874  
    2020        @brief Implementation of IlluminationManager in an OGRE environment. 
    2121*/ 
    22 class OgreIlluminationManager 
     22class OgreIlluminationManager: public FrameListener 
    2323{ 
    2424protected: 
     
    251251        */ 
    252252        void updatePerLightRun(String lightName, RenderingRunType runType, unsigned long frameNum); 
     253 
     254        bool frameStarted(const FrameEvent& evt) 
     255    { 
     256                update(Root::getSingleton().getCurrentFrameNumber(), mainViewport->getTarget()); 
     257                return FrameListener::frameStarted(evt); 
     258        } 
    253259}; 
    254260 
Note: See TracChangeset for help on using the changeset viewer.