mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-24 14:37:58 +01:00
fix ordering connect points
This commit is contained in:
parent
cd8687d148
commit
a3f5c398da
@ -120,7 +120,7 @@ export default function intersectionsToShapes(layerPoints, layerFaceIndexes, fac
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
connectPoints.sort(({ previous }) => previous);
|
connectPoints.sort(({ previous }) => -previous);
|
||||||
|
|
||||||
while (connectPoints.length !== 0) {
|
while (connectPoints.length !== 0) {
|
||||||
let { next, previous } = connectPoints.pop();
|
let { next, previous } = connectPoints.pop();
|
||||||
|
Loading…
Reference in New Issue
Block a user