mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
admesh refactoring: Removed the shared_vertices counter as it is now
contained inside v_shared std::vector
This commit is contained in:
parent
a1c38794fb
commit
65238a89b1
8 changed files with 15 additions and 22 deletions
|
@ -484,8 +484,8 @@ Polygon TriangleMesh::convex_hull()
|
|||
{
|
||||
this->require_shared_vertices();
|
||||
Points pp;
|
||||
pp.reserve(this->stl.stats.shared_vertices);
|
||||
for (int i = 0; i < this->stl.stats.shared_vertices; ++ i) {
|
||||
pp.reserve(this->stl.v_shared.size());
|
||||
for (size_t i = 0; i < this->stl.v_shared.size(); ++ i) {
|
||||
const stl_vertex &v = this->stl.v_shared[i];
|
||||
pp.emplace_back(Point::new_scale(v(0), v(1)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue