mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-03 02:20:39 +08:00
Remove obsolete assert in the multi-material segmentation.
This commit is contained in:
parent
9634f2e02f
commit
a443b27895
@ -827,10 +827,8 @@ static std::vector<ExPolygons> extract_colored_segments(const std::vector<Colore
|
|||||||
segmented_polygon.points.emplace_back(Geometry::VoronoiUtils::to_point(next_vertex).cast<coord_t>());
|
segmented_polygon.points.emplace_back(Geometry::VoronoiUtils::to_point(next_vertex).cast<coord_t>());
|
||||||
edge->color(VD_ANNOTATION::DELETED);
|
edge->color(VD_ANNOTATION::DELETED);
|
||||||
|
|
||||||
if (next_vertex.color() == VD_ANNOTATION::VERTEX_ON_CONTOUR || next_vertex.color() == VD_ANNOTATION::DELETED) {
|
if (next_vertex.color() == VD_ANNOTATION::VERTEX_ON_CONTOUR || next_vertex.color() == VD_ANNOTATION::DELETED)
|
||||||
assert(next_vertex.color() == VD_ANNOTATION::VERTEX_ON_CONTOUR);
|
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
|
|
||||||
edge = edge->twin();
|
edge = edge->twin();
|
||||||
} while (edge = edge->twin()->next(), edge != cell_range.edge_begin);
|
} while (edge = edge->twin()->next(), edge != cell_range.edge_begin);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user