[osg-users] Cloning doesn't copy all values
Tony Vasile
minghia at gmail.com
Wed Dec 16 13:45:16 PST 2015
Basically I am trying replicate the functionality that the Performer copy functions and was playing around with cloning models. I tried making a program to set some user data and the data variance on the original model with a NodeVisitor and then I clone the original model. When I try to read back the changes the user data is set in the clone but the data variance is set to 2 assuming I understand C++ enum default values. So is there any way to guarantee that all the data is copied?
------------------------
Tony V
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65882#65882
More information about the osg-users
mailing list