Hi Adrian,

On Tue, Feb 9, 2010 at 8:50 PM, Adrian Egli OpenSceneGraph (3D)
<[email protected]> wrote:
> The osgPPU IO_Unit.cpp doesn't build against latest osg svn version due of
> the redesign of osgDB:registry
> we need to update the whole thing:
>
> osgDB::Registry::instance()->getDeprecatedDotOsgObjectWrapperManager()
> ->writeObject(...)
>
> solves building problem, but this should be fixed.

I'm not familiar with osgPPU implementation, but typically one
shouldn't need to call the Registry::writeObject() directly, rather
than osgDB::Output::writeObject(..) should be used instead, I believe
this applies to OSG versions dating back to the 1.x days, so should be
fine to modify osgPPU to use something like fout.writeObject(..) and
it'll compile with svn/trunk and previous versions of the OSG.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to