[osg-users] Cloning doesn't copy all values

Tony Vasile minghia at gmail.com
Wed Dec 16 23:40:16 PST 2015


Found my problem. I needed to provide a copy  constructor that takes a osg::CopyOp argument which copies the data from one to the other. So there is no need for an equivalent of setCopyFunc just create the constructors and call clone on the original.

------------------------
Tony V

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65886#65886








More information about the osg-users mailing list