mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2025-01-31 13:25:10 +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) {
|
||||
let { next, previous } = connectPoints.pop();
|
||||
|
Loading…
x
Reference in New Issue
Block a user