Re: [osg-users] Problem with creating/deleting Viewers and paged databases

2009-10-17 Thread Robert Osfield
Hi Jason, If you are sharing a database between multiple viewers that are created/deleted then you'll need to switch off the Texture::setUnrefImageAfterApply(bool) feature that is set to true by default for paged databases. The DatabasePager has a method for controlling this, but I'm afraid I can

[osg-users] Problem with creating/deleting Viewers and paged databases

2009-10-14 Thread Jason Beverage
Hi all, I'm having an with creating and destroying multiple viewers that load a paged database. I've put together a very simple example of this that creates a viewer to display a model, waits for it to complete, then creates another viewer. #include #include int main(int argc, char** argv) {