Hi,
I want to pick one node using mouse. then the node deleted. but I failed. I
don't know why. the nodepick.h attached.
the osg::Node* pNode can be picked. and it can be changed to red.
but the following mViewer-getSceneData()-asGroup()-removeChild(pNode);
failed.
I also used m_Rt-removeChild(pNode); failed again.
So puzzled. help me plz.
Thank you!
Cheers,
LUO
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64470#64470
Attachments:
http://forum.openscenegraph.org//files/nodepick_135.h
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org