Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing a DEFed node that has USEs breaks X3DOM #489

Closed
mlimper opened this issue Apr 15, 2015 · 0 comments
Closed

Removing a DEFed node that has USEs breaks X3DOM #489

mlimper opened this issue Apr 15, 2015 · 0 comments

Comments

@mlimper
Copy link
Contributor

mlimper commented Apr 15, 2015

as reported on the X3D mailing list:

Let me use the simple DEF/USE example from x3dom.org as example:
http://examples.x3dom.org/example/x3dom_defUse.xhtml

The scene has to nodes, one defining the Shape below Transform#bar, one that is reusing the Shape below Transform#bar.

Now I remove the defining node (using jQuery syntax):
$("Transform#bar Shape").remove();

Now I have an invalid X3D scene in the DOM with a single node pointing to a definition that does not exists. The currently included X3DOM implementation 1.6.2-dev produces an error, stops rendering (displaying both shapes) and gets inactive (I guess this is a bug) . Former versions would just render the "USE" node using the previous definition.

tsturm added a commit that referenced this issue May 7, 2015
@tsturm tsturm closed this as completed May 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants