Hi,

if i perfom a pick in my scene
i get the picked node ( TransformNode1 )

i added to this picked Node a boundingbox 
( TransformNode1->addchild( boundingNode )

when TransformNode1 isnt picked 
i have to remove this boundigbox node
i do this with:
(TransformNode1->removeChild(  boundingNode )
and add it to the new picked 
(TransformNode2->addChild(  boundingNode )

okay 

now i picked the first ( TransformNode1 ) again 

then the code crashes in 
TransformNode1->addchild( boundingNode ) 

why?

is there another method to show / hide Nodes? 

Thank you.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10654#10654





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

Reply via email to