Hi Philip, On 25 January 2012 16:45, Philipp Moeller > The copy is not the problem the assignment is (The operator= is needed > here as this is not the point of declaration). osg::Objects operator= is > private which default deletes the assignment operator in all base > classes and I don't really get why. So it looks like this is by design > although it would be nice to have.
There is no copy operator by design. Copying elements in a scene graph is rather open ended as the objects within the graph have children (UseData on osg::Light is a form of child) so you have think about what happens with the child objects - this is what CopyOp's role is, but this obviously isn't available with the standard C++ = operator. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

