mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 13:37:58 +01:00
semi z offset
isn’t real fix
This commit is contained in:
parent
994a1caa98
commit
8e5e000a12
@ -25,7 +25,7 @@ export default function calculateLayersIntersections(lines, settings) {
|
|||||||
|
|
||||||
layerIntersectionIndexes[layerIndex].push(lineIndex);
|
layerIntersectionIndexes[layerIndex].push(lineIndex);
|
||||||
|
|
||||||
const y = layerIndex * layerHeight + zOffset;
|
const y = layerIndex * layerHeight;
|
||||||
|
|
||||||
let x, z;
|
let x, z;
|
||||||
if (line.start.y === line.end.y) {
|
if (line.start.y === line.end.y) {
|
||||||
|
Loading…
Reference in New Issue
Block a user