[X3D-Public] cannot delete dynamic content (newbie)

Russ Kinter pyth7 at verizon.net
Mon Dec 21 09:29:58 PST 2009

You didn't mention which browser you are using.
However it sounds like the browser has a bug and the simplest way around it
is to "enable FALSE"
those TimeSensors just before they are removed from the scene.
In most browsers the removeChildren call usually doesn't remove the VRML
(oops -I mean X3D :) from memory per se.
Russ Kinter

From: x3d-public-bounces at web3d.org [mailto:x3d-public-bounces at web3d.org] On
Behalf Of Christoph Valentin
Sent: Monday, December 21, 2009 9:18 AM
To: x3d-public at web3d.org
Subject: [X3D-Public] cannot delete dynamic content (newbie)
Hi all

I'm quite new to X3D and facing a problem, that you might have solved long

I work with <Script> nodes and embedded JavaScript (CDATA) in the scene.

I make use of the Browser.createVrmlFromURL(url,node,field) function and add
some content dynamically.

To render the content, I add the content with .addChildren to a <Group>

Now I want to get rid of parts of the content and use .removeChildren of the
<Group> node.

As expected, the content is invisible now, but it is still active.

I see in the debug output of the content (Browser.println()), tha of the
content (Browser.println()), that still timers are runni...

What would be your first assumption? What could be wrong?


Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20091221/a50945bf/attachment-0001.html>

More information about the X3D-Public mailing list