Don't you have to ALLOW_DETACH on the child or parent or something?

Also, its probably better practive to reference static things from the
class and not the instance.

Kev

David Bourgais wrote:

>Hi
>
>If you want to remove or to add children in your BranchGroup, you have
>to put 3 capabilities for your BranchGroup.
>For exemple :
>MyBranchGroup.setCapabilities(MyBranchGroup.ALLOW_CHILDREN_READ);
>MyBranchGroup.setCapabilities(MyBranchGroup.ALLOW_CHILDREN_WRITE);
>MyBranchGroup.setCapabilities(MyBranchGroup.ALLOW_CHILDREN_EXTEND);
>Then, to remove easily children from this BranchGroup, just put :
>MyBranchGroup.detach();
>That's all !
>I hope that it would help you.
>
>Bye
>
>David Bourgais
>
>===========================================================================
>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