Ignore:
Timestamp:
02/20/07 12:45:16 (18 years ago)
Author:
szirmay
Message:
 
Location:
OGRE/trunk/ogre_changes/Ogre1.2/OgreMain
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OGRE/trunk/ogre_changes/Ogre1.2/OgreMain/include/OgreFrameListener.h

    r1591 r2129  
    8484#ifdef GAMETOOLS_ILLUMINATION_MODULE 
    8585        protected: 
    86                 int priority; 
     86                unsigned int priority; 
    8787 
    8888        public: 
     
    9191                        return priority < l->priority; 
    9292                } 
    93                 int getPriority(){return priority;} 
    94                 void setPriority(int p){priority = p;} 
    95                 FrameListener(){priority = 0;} 
     93                unsigned int getPriority(){return priority;} 
     94                void setPriority(unsigned int p){priority = p;} 
     95                FrameListener(){priority = 1;} 
    9696#endif 
    9797                public: 
  • OGRE/trunk/ogre_changes/Ogre1.2/OgreMain/src/OgrePredefinedControllers.cpp

    r1682 r2129  
    4040        // Register self 
    4141                #ifdef GAMETOOLS_ILLUMINATION_MODULE 
    42                         this->setPriority(-1000); 
     42                        this->setPriority(0); 
    4343                #endif 
    4444        Root::getSingleton().addFrameListener(this); 
Note: See TracChangeset for help on using the changeset viewer.