Markus,
Thanks for your help.
The VRML object that I'm trying to add to the scene is a BranchGroup
obtained with
loader_ = new VrmlLoader();
scene = loader_.load(url_);
sceneGroup_ = scene.getSceneGroup();
sceneGroup_.setCapability(BranchGroup.ALLOW_DETACH);
sceneGroup_.setCapability(BranchGroup.ALLOW_BOUNDS_READ);
I wrote that method that you just saw in my previous posting and I
encountered the following problem: when I'm adding, let's say hand.wrl
file and then flag.wrl file and then again hand.wrl file, then everything
works fine and I get no error. When I'm trying to add hand.wrl and then
again hand.wrl I get that error with multiple parents. I was looking for a
way to avoid this problem. I still don't know how
I tried to say detach, like you suggested, but then the branchgroup that
I'm detaching will disappear and I don't want that.
Andreea Francu