mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2025-06-11 18:03:18 +02:00
fix ordering connect points
This commit is contained in:
@ -120,7 +120,7 @@ export default function intersectionsToShapes(layerPoints, layerFaceIndexes, fac
|
||||
}
|
||||
}
|
||||
|
||||
connectPoints.sort(({ previous }) => previous);
|
||||
connectPoints.sort(({ previous }) => -previous);
|
||||
|
||||
while (connectPoints.length !== 0) {
|
||||
let { next, previous } = connectPoints.pop();
|
||||
|
Reference in New Issue
Block a user