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:
Robert Osfield
2007-06-01 19:19:23 +00:00
parent 8f87e14416
commit fcafd4db06
2 changed files with 3 additions and 2 deletions

View File

@@ -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() {}