Skip to content

Commit

Permalink
fix for #489
Browse files Browse the repository at this point in the history
  • Loading branch information
tsturm committed May 7, 2015
1 parent 7f0938f commit b2e2a9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/X3DDocument.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ x3dom.X3DDocument.prototype._setup = function (sceneDoc, uriDocs, sceneElemPos)
}
}

//do not remove node from namespace if it was only "USE"d
if (nameSpace && ! domNode.getAttribute('use'))
//do not remove node from namespace if it was only "USE"d
if (nameSpace && !(domNode.getAttribute('use') || domNode.getAttribute('USE')))
{
nameSpace.removeNode(node._DEF);
}
Expand Down

0 comments on commit b2e2a9d

Please sign in to comment.