From Stephan Huber, "attached you'll find the modified ImageStream
and a small fix for QuicktimeImageStream to disable debug-logging :)"
This commit is contained in:
@@ -63,7 +63,7 @@ class OSG_EXPORT ImageStream : public Image
|
||||
LOOPING
|
||||
};
|
||||
|
||||
void setLoopingMode(LoopingMode mode) { _loopingMode = mode; }
|
||||
void setLoopingMode(LoopingMode mode) { _loopingMode = mode; applyLoopingMode(); }
|
||||
LoopingMode getLoopingMode() const { return _loopingMode; }
|
||||
|
||||
|
||||
@@ -78,6 +78,7 @@ class OSG_EXPORT ImageStream : public Image
|
||||
virtual void update() {}
|
||||
|
||||
protected:
|
||||
virtual void applyLoopingMode() {}
|
||||
|
||||
virtual ~ImageStream() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user