fix transfer of height information from slices
This commit is contained in:
parent
bae6bd2d8e
commit
fb950ec894
2 changed files with 3 additions and 2 deletions
|
|
@ -340,6 +340,7 @@ var gs_kiri_fdm = exports;
|
|||
if (layerout.length && minidx !== lastIndex) {
|
||||
layerout.last().retract = true;
|
||||
}
|
||||
layerout.height = layerout.height || closest.slice.height;
|
||||
slices[minidx] = null;
|
||||
closest.offset.z = zoff;
|
||||
// output seek to start point between mesh slices if previous data
|
||||
|
|
@ -354,7 +355,7 @@ var gs_kiri_fdm = exports;
|
|||
}
|
||||
|
||||
layerout.layer = layer;
|
||||
layerout.height = layer === 0 ? firstLayerHeight : process.sliceHeight;
|
||||
// layerout.height = layerout.height || (layer === 0 ? firstLayerHeight : process.sliceHeight);
|
||||
if (layerout.length) output.append(layerout);
|
||||
layer++;
|
||||
update(layer / maxLayers);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
var exports = {
|
||||
COPYRIGHT:"Copyright (C) 2014-2017 Stewart Allen <stewart@neuron.com> - All Rights Reserved",
|
||||
LICENSE:"Unauthorized copying, modification and re-distribution are strictly prohibited without prior written consent.",
|
||||
VERSION:"1.1.8a"
|
||||
VERSION:"1.1.8b"
|
||||
};
|
||||
if (!module) var module = {};
|
||||
module.exports = exports;
|
||||
|
|
|
|||
Loading…
Reference in a new issue