Skip to content
Snippets Groups Projects
Commit d0d819ce authored by Manos Angelidis's avatar Manos Angelidis Committed by Axel von Arnim
Browse files

Merged in NRRPLT-7488 (pull request #27)


[NRRPLT-7488] should recieve the proper modelsdf

Approved-by: default avatarManos Angelidis <angelidis@fortiss.org>
Approved-by: default avatarAxel von Arnim <axel.vonarnim@fortiss.org>
parent 83d22770
No related branches found
No related tags found
No related merge requests found
...@@ -82,8 +82,7 @@ GZ3D.SpawnModel.prototype.start = function (modelPath, modelSDF, modelName, call ...@@ -82,8 +82,7 @@ GZ3D.SpawnModel.prototype.start = function (modelPath, modelSDF, modelName, call
} }
else else
{ {
if (typeof modelSDF === 'undefined') modelSDF = 'model.sdf'; mesh = this.sdfParser.loadSDF(modelSDF);
mesh = this.sdfParser.loadSDF(modelPath + '/' + modelSDF);
//TODO: add transparency to the object //TODO: add transparency to the object
zoffset = 0; zoffset = 0;
this.autoAlignModel.alignOnMeshBase(); this.autoAlignModel.alignOnMeshBase();
......
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