Hi Rudolf,

I have just merged and checked in your changes with the small change
of usage of copyop, I changed your line:

        _objectList.push_back((*itr)->clone(copyop));

to

        _objectList.push_back(copyop(*itr));

This allows the copyop to decide whether to clone or share an instance
of the object.

Cheers,
Robert.


On 3 November 2011 23:11, Wiedemann, Rudolf, OPS3
<[email protected]> wrote:
> Hi Robert,
>
> the file attached fixes the incomplete implementation of 
> "osg::DefaultUserDataContainer"'s copy constructor.
> Copying user objects was missing.
>
> This fix is based on release 3.0.1.
> I tested it on Windows 7/ XP with Visual Studio 2008 Express SP1.
>
> Regards,
> Rudolf
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to