[osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release

Glenn Waldron gwaldron at gmail.com
Mon Mar 27 06:22:46 PDT 2017


Robert,
Agreed, we did this out of temporary necessity; the right thing moving
forward is for osgEarth to check the OSG version when creating/registering
the osg::TextureBuffer serializer.


Glenn Waldron

On Mon, Mar 27, 2017 at 3:27 AM, Robert Osfield <robert.osfield at gmail.com>
wrote:

> Hi Li,
>
> On 26 March 2017 at 23:26, Li Chi <s12345uperman at sohu.com> wrote:
> > Sorry for bothering, I found the cause of the warning
> "ObjectWrapperManager::addWrapper(): 'osg::TextureBuffer' already exists.
> ".
> >
> > Because osgEarth already has the osg::TextureBuffer serializer in
> TextureBufferSerializer.cpp file, so when use osg and osgEarth together,
> the warning message printed out.
>
> This might be a bit awkward to resolve, it shouldn't really be
> osgEarth's place to implement serializers for core OSG classes because
> it has the potential of overlapping with core OSG implementations.  If
> osgEarth has a stable release this is in then we'll need to come up
> with some workaround - either making osgDB resilient to these
> conflicts or having osgEarth check OSG versions and not implement
> stuff, however, this is fraught with potential problems as the order
> and parameters serialized out could easily be different.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170327/53fd70b6/attachment-0002.htm>


More information about the osg-users mailing list