Skip to content

Commit

Permalink
Merge pull request #12 from Kudo3D/fixes-pr
Browse files Browse the repository at this point in the history
Integration Fixes for Web Based Controllers
  • Loading branch information
Sébastien Mischler (aka skarab) authored Aug 9, 2016
2 parents 18a6da2 + ebac667 commit be2a5ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ function updateBuildVolumeSettings() {
});

viewer3d.setBuildVolume(settings.get('buildVolume'));
viewer3d.dropObject(slicer.mesh);
slicer.mesh && viewer3d.dropObject(slicer.mesh);
viewer3d.render();

size && updateMeshInfoUI();
Expand Down Expand Up @@ -1064,8 +1064,8 @@ var stl = 'stl/StressTest.stl';
//var stl = 'stl/SLAcer.stl';

// File url
var url = 'http://' + window.location.hostname + window.location.pathname + stl;

// var url = 'http://' + window.location.hostname + window.location.pathname + stl;
var url = window.location.href + stl;
// Create http request object
var xmlhttp = new XMLHttpRequest();

Expand Down

0 comments on commit be2a5ff

Please sign in to comment.