Jean-Sébastien Guay wrote:

>Hello Paul,
>  
>
>>I hereby post this tool to the list.
>>    
>>
>Nice, I'm sure this could be expanded easily. I hope Robert agrees to  
>include this in the distribution (given its small size and usefulness  
>as a learning tool).
>  
>
Well, I'm not sure this is a good OSG coding example :)
The right way would probably be to use a NodeVisitor and simply use the 
getParent() method instead of the whole std::map to keep parent->child 
relations (can't remember why I even wrote it like this). I'll leave 
this as an excercise to the reader ;-)

Paul
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to