Hi Robert,

Yes, running the Optimizer::TextureVisitor
solved this problem, thanks!

>It could be that your databases have the UnrefImageAfterApply enabled
>on them which is causing the loaded database to release imagery.  You
>can run the Optimizer::TextureVisitor to change the value back, just
>have a look at the option for it in the include/osgUtil/Optimizer
>header.
>
>Another snippet for you is that is you enable the new texture pool
>then UnrefImageAfterApply is automatically disabled so no matter what
>you set osg::Texture* never releases the imagery.
>
>Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to