Hi Pjotr,

Thanks for the changes.  I've implemented something similar, the main
difference is that I've added a _dummyReadObject member variable to
InputSteam and use this object to read the object fields that we wish to
ignore.  Could you try svn/trunk version of include/osgDB/InputStream and
InputStream.cpp in place of your own modifications to see if this address
problems associated with reusing the cache?

My next work item will looking at preventing the over-witting of settings
by the FindCompileableGLObjectsVisitor.

Cheers
Robert.



On 5 November 2014 14:29, Pjotr Svetachov <[email protected]> wrote:

> Looks like the new code fixes the deadlocks.
>
> Attached are my modifications to the InputStream to no modify images when
> they come from a cache. Note that this is a quick fix.
>
> Cheers,
> Pjotr
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=61524#61524
>
>
>
>
> _______________________________________________
> 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