I'm not sure if removeChild() destroy some capabilities, but if you use the
method "detach()"  this problem won't occur.



Pei Jir Yeoh wrote:

> Hello to all :)
>
> Does anyone know if removeChild() will destroy certain capability bits of
> the child being removed?
>
> I have an application which detaches and attaches branchgroups when certain
> buttons are pressed. I use removeChild(0) to detach a branchgroup, and then
> addChild(Branchgroup) to attach a branchgroup according to whichever button
> pressed.
>
> I also have ENABLE_PICK_REPORTING set in those branchgroups. I am able to
> pick items in the branchgroups, but after I removeChild()-ed it and then
> select it again using addChild(), I am not able to pick the items in that
> branchgroup again. This happened to all my branchgroups.... :(
>
> Yeoh.
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to