Changeset 10924 for OpenSceneGraph/trunk/src/osg/Image.cpp
- Timestamp:
- 01/07/10 13:14:47 (3 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osg/Image.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osg/Image.cpp
r10866 r10924 63 63 using namespace osg; 64 64 using namespace std; 65 66 void Image::UpdateCallback::operator () (osg::StateAttribute* attr, osg::NodeVisitor* nv) 67 { 68 osg::Texture* texture = attr ? attr->asTexture() : 0; 69 70 // osg::notify(osg::NOTICE)<<"ImageSequence::UpdateCallback::"<<texture<<std::endl; 71 if (texture) 72 { 73 for(unsigned int i=0; i<texture->getNumImages(); ++i) 74 { 75 texture->getImage(i)->update(nv); 76 } 77 } 78 } 65 79 66 80 Image::Image()
