Ryan Morris wrote:
> I have a scene populated with nodes loaded from .osg files, I set
> their names with node->setName(), but when I pick them and I perform a
> node->getName() it returns the name of the geode specified in the .osg
> file. Does anyone know why this is happening? Any help would be
> greatly appreciated.
>   
I seem to recall that the picking results actually contain the drawables
intersected, not the parent nodes of those drawables.
So depending on how you process the picking results, node->getName()
might actually call getName() on a drawable.

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

Reply via email to