Hi
Maybe someone can help me with this one. I've got a
BranchGroup which contains another BranchGroup which contains
a TransformGroup with a Shape3D. Looking like this
BG
/ \
BG BG
| |
. TG
. |
. Shape3D
Now I want to remove the right BranchGroup from the top Branchgroup.
The top branchgroup has been compiled. (But the right BranchGroup has
been attached later after compile). When I call removeChild(1) I always
get a CapabilityNotSetException: Group : no capability to remove
children. If set all these Capabilities for the top BranchGroup
BranchGroup.ALLOW_DETACH
Group.ALLOW_CHILDREN_EXTEND
Group.ALLOW_CHILDREN_READ
I've set
BranchGroup.ALLOW_DETACH in the right BranchGroup
What capability do I have to set that it works as there is no
ALLOW_CHILDREN_REMOVE capabilty in Node,Group nor BranchGroup
Thanks
EOF,
J.D.
--
Realtime Raytracer in JAVA
(http://www.antiflash.net/raytrace)
===========================================================================
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".