hi all,
 
I've been feeling really pleased with myself, because I've managed to get my little application to pick Shape3D's with a mouse click. When I display the properties of the object I've picked, all is well until I try to do a getAppearance() on it.
 
Of course, I get a capability not set exception. I tried setting the ALLOW_APPEARANCE_READ of the objects I want to pick. Then I tried the ALLOW_CHILD_READ for the objects' TransformGroup, then the same for the BranchGroup and then for the BranchGroup above that.
 
Still no joy. The questions are
a) Am I setting the correct capability and
b) If I AM setting the correct capability, how far up the scene graph do I need to go with it???
 
Many thanks,
Mark V

Reply via email to