mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-22 19:13:50 +01:00
fix filled shapes
This commit is contained in:
parent
e056b37677
commit
cd8687d148
@ -95,7 +95,11 @@ export default function intersectionsToShapes(layerPoints, layerFaceIndexes, fac
|
||||
const path = shape[pathIndex];
|
||||
|
||||
if (almostEquals(path[0], path[path.length - 1])) {
|
||||
lineShapesClosed.push(path);
|
||||
if (openShape) {
|
||||
lineShapesClosed.push(path);
|
||||
} else {
|
||||
fillShapes.push(path);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user