Hi all,

I have a live branch group to which I go to add a transform group (and or
shape3d) which produces the following exception:

javax.media.j3d.RestrictedAccessException: Group: only a BranchGroup node
may be
 added at javax.media.j3d.Group.addChild(Group.java:260)

I have the following capabilities set:
   joinersBG.setCapability(Group.ALLOW_CHILDREN_EXTEND);
   joinersBG.setCapability(Group.ALLOW_CHILDREN_WRITE);
   joinersBG.setCapability(BranchGroup.ALLOW_DETACH);

The only way around it is to create a new branch group, add the shape or
transform group to this and then add this new branch group to the original
parent (joinersBG).   Why is this so? shouldn't I be able to just extend the
joinersBG, if so why do i need the new branch group between it and any new
items i want to add to it?

Thanks in advance james

===========================================================================
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