Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 1 file changed
  • 0 commit comments
  • 4 contributors
Showing with 3 additions and 3 deletions.
  1. +3 −3 js/main.js
View
@@ -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();
@@ -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();

No commit comments for this range