Show
Ignore:
Timestamp:
10/06/08 19:02:20 (6 years ago)
Author:
robert
Message:

Refactored ImageSequence? to provided a cleaner and more robust implementation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/ImageStream

    r8755 r8990  
    6666        }; 
    6767         
    68         void setLoopingMode(LoopingMode mode) { _loopingMode = mode; applyLoopingMode(); } 
     68        void setLoopingMode(LoopingMode mode) 
     69        { 
     70            if (_loopingMode == mode) return; 
     71             
     72            _loopingMode = mode; 
     73            applyLoopingMode(); 
     74        } 
     75         
    6976        LoopingMode getLoopingMode() const { return _loopingMode; } 
    7077