Recently I have been trying to write some scenes to file to analyze them and 
coming upon some trouble. When I call writeNodeFile it seems to ignore certain 
children. I was confused for a while until I realized that it was ignoring any 
node that was custom derived type. 

I chased down the code from the osg filetype plugin into the 
Registry::writeObject call which seems to do what looks like some reflection 
stuff to decide what to write, but I am not familiar with osg's reflection 
system. So Im guessing the problem has something to do with reflection. 

Is this expected behavior? I would expect it to just use osg::Group's writer 
code for example if I had derived from osg::Group.

Can anyone enlighten me? 


     Andy




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

Reply via email to