Long Nguyen wrote:
>
> I am trying to detach a BranchGroup from its parent, but I keep on getting
> Exception about CapabilityNotSet for "writing children". For the detached
> BranchGroup and its parent, I set the capability bits to ALLOW_EXTEND_CHILDREN,
> ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_DETACH. I even check for
> these bits during run-time, and they appear to be set correctly. However,
> the exception keeps on being raised? Does anybody know why?
This is because the Group _above_ the BranchGroup needs to have
ALLOW_CHILDREN_WRITE set as well. The only time this doesn't need to be
set is when the BG is added to a Locale.
--
Justin Couch Author, Java Hacker
Snr Software Engineer [EMAIL PROTECTED]
ADI Ltd, Systems Group http://www.vlc.com.au/~justin/
Java3D FAQ: http://tintoy.ncsa.uiuc.edu/~srp/java3d/faq.html
-------------------------------------------------------------------
"Look through the lens, and the light breaks down into many lights.
Turn it or move it, and a new set of arrangements appears... is it
a single light or many lights, lights that one must know how to
distinguish, recognise and appreciate? Is it one light with many
frames or one frame for many lights?" -Subcomandante Marcos
-------------------------------------------------------------------
===========================================================================
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".