Chris,
Are you using multiple Viewers, or are you using multiple Views under a
CompositeViewer? I'm not sure running 2 Viewers that point at the same
graph is entirely safe.

Anyway, call setUnrefImageDataAfterApplyPolicy() after creating your
View/Viewer but before calling frame().


Glenn Waldron / @glennwaldron


On Tue, Sep 10, 2013 at 9:07 PM, Chris Stankevitz <[email protected]
> wrote:

> Hello,
>
> When is the DatabasePager created during the following operations?
>
> When is the DatabasePager destroyed during the following operations?
>
> When should I make calls to
> DatabasePager::setUnrefImageDataAfterApplyPolicy?
>
> Operations:
>
> 1. Create a "scene data" node using osgEarth
>
> 2. Create a Viewer, call Viewer::setSceneData, call Viewer::frame a few
> times
>
> 3. Create a second Viewer, call Viewer::setSceneData, call
> Viewer::frame a few times
>
> 4. Destroy the first viewer
>
> 5. Destroy the second viewer
>
> 6. Create a third Viewer, call Viewer::setSceneData, call
> Viewer::frame a few times
>
> 7. Destroy the third viewer
>
> 8. Destroy the scene data node
>
> Thank you,
>
> Chris
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to