Hello Robert,

Is there a reason the copy constructor in Program.cpp would be a bad thing to be called during copy operations? I do not quite understand the purposes of this debug statement:

Program::Program(const Program& rhs, const osg::CopyOp& copyop):
   osg::StateAttribute(rhs, copyop)
{
   osg::notify(osg::FATAL) << "how got here?" << std::endl;
   _geometryVerticesOut = rhs._geometryVerticesOut;
   _geometryInputType = rhs._geometryInputType;
   _geometryOutputType = rhs._geometryOutputType;
}

It is in the src/osg/Program.cpp file. I do not understand what would be
wrong with this copy constructor.

Doug

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

Reply via email to