Permalink
Browse files

fixes

  • Loading branch information...
1 parent aef4e0b commit a946c698fc64d14a7ae9b3aef6ca4d283a340e20 @rkoeppl rkoeppl committed Jun 26, 2016
Showing with 5 additions and 4 deletions.
  1. +5 −4 js/main.js
View
@@ -457,10 +457,11 @@ function startSlicing() {
ontime = parseInt(times.on);
offtime = parseInt(times.off);
layerheight=settings.get('slicer.layers.height');
- ziptext1= '#Generated by SLAcer.js\r\n#http://lautr3k.github.io/SLAcer.js/\r\nlayer_height='+layerheight;
- ziptext2='\r\nexposure_time='+ontime;
- ziptext3= '\r\nresin_settling_time='+offtime;
- ziptext= ziptext1+ziptext2+ziptext3;
+ ziptext1= '#Generated by SLAcer.js\r\n#http://lautr3k.github.io/SLAcer.js/\r\nlayer_height=\"'+layerheight;
+ ziptext2='\r\nexposure_time=\"'+ontime;
+ ziptext3= '\r\nresin_settling_time=\"'+offtime;
+ zipdelimiter='\"'
+ ziptext= ziptext1+zipdelimiter+ziptext2+zipdelimiter+ziptext3+zipdelimiter;
zipFile.file("README.txt",ziptext);
}

0 comments on commit a946c69

Please sign in to comment.