Skip to content

Commit

Permalink
Updated to new json layout
Browse files Browse the repository at this point in the history
  • Loading branch information
rubendel committed Dec 11, 2017
1 parent 1970299 commit c0297e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@
containerDiv.find(".loadingDiv").hide();

if (objectToShow.isA("IfcProduct")) {
o.viewer = new BIMSURFER.Viewer(Global.bimServerApi, 'browserviewport');
o.viewer = new BIMSURFER.Viewer(Global.bimServerApi, "browserviewport");
o.viewer.loadScene(function(){
Global.scene = o.viewer.scene;

objectToShow.gid = objectToShow.object._rgeometry;
objectToShow.gid = objectToShow.object._rgeometry._i;
objectToShow.trans.mode = 0;

var models = {};
Expand Down

0 comments on commit c0297e3

Please sign in to comment.