Permalink
...
Comparing changes
Open a pull request
- 8 commits
- 1 file changed
- 0 commit comments
- 4 contributors
Unified
Split
Showing
with
3 additions
and 3 deletions.
- +3 −3 js/main.js
View
6
js/main.js
| @@ -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(); | ||