Commit 2f8cb393 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

ending pt

parent d885f003
......@@ -20,7 +20,7 @@ pre {
.navbar {
margin-bottom:0;
z-index: 2;
z-index: 5;
border-radius: 0;
opacity:0.8;
}
......
......@@ -61,7 +61,7 @@ define(['underscore', 'appState', 'lattice', 'cam'], function(_, appState, latti
this.customChangeZLayer = function(currentIndex, lastIndex, exporter, settings, context, self){
var data = "";
if (lastIndex === null || (currentIndex.z-lastIndex.z)%2 != 0){
data += exporter.addLine("G0", ["A" + ((currentIndex.z%2+1)*0.3125).toFixed(4)], "new layer");
data += exporter.addLine("G0", ["A" + ((currentIndex.z+1)%2*0.3125).toFixed(4)], "new layer");
data += "\n";
}
return data;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment