mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 08:11:11 -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
|
@ -104,8 +104,8 @@ TriangleMesh::vertices()
|
|||
|
||||
// vertices
|
||||
AV* vertices = newAV();
|
||||
av_extend(vertices, THIS->stl.stats.shared_vertices);
|
||||
for (int i = 0; i < THIS->stl.stats.shared_vertices; i++) {
|
||||
av_extend(vertices, THIS->stl.v_shared.size());
|
||||
for (size_t i = 0; i < THIS->stl.v_shared.size(); i++) {
|
||||
AV* vertex = newAV();
|
||||
av_store(vertices, i, newRV_noinc((SV*)vertex));
|
||||
av_extend(vertex, 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue