Skip to content
Snippets Groups Projects
Commit 042bee8e authored by Manos Angelidis's avatar Manos Angelidis Committed by Sandro Weber
Browse files

Merged in NRRPLT-8034 (pull request #45)

[NRRPLT-8034] Reflecting the frontend changes

* [NRRPLT-8034] Reflecting the frontend changes

* Merged development into NRRPLT-8034

Approved-by: Ugo Albanese
Approved-by: Sandro Weber
parent c40c0fc2
No related branches found
No related tags found
No related merge requests found
...@@ -556,7 +556,7 @@ GZ3D.SdfParser.prototype.createVisual = function(visual) { ...@@ -556,7 +556,7 @@ GZ3D.SdfParser.prototype.createVisual = function(visual) {
GZ3D.SdfParser.prototype.spawnFromSDF = function(sdf) { GZ3D.SdfParser.prototype.spawnFromSDF = function(sdf) {
//convert SDF to Json object //convert SDF to Json object
//TODO: we need better xml 2 json object convertor (done?) //TODO: we need better xml 2 json object convertor (done?)
var jsonObj = xml2json.parser(sdf); var jsonObj = new X2JS().xml_str2json(sdf);
var sdfObj = jsonObj.sdf; var sdfObj = jsonObj.sdf;
// it is easier to manipulate json object // it is easier to manipulate json object
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment