mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
Fixed a 64bit compatiblity in admesh, fixed a typo in TriangleMesh::swap()
This commit is contained in:
parent
7f1704b2ac
commit
e6d802a5ff
2 changed files with 11 additions and 7 deletions
|
@ -58,12 +58,8 @@ TriangleMesh& TriangleMesh::operator= (TriangleMesh other)
|
|||
void
|
||||
TriangleMesh::swap(TriangleMesh &other)
|
||||
{
|
||||
std::swap(this->stl, other.stl);
|
||||
std::swap(this->repaired, other.repaired);
|
||||
std::swap(this->stl.facet_start, other.stl.facet_start);
|
||||
std::swap(this->stl.neighbors_start, other.stl.neighbors_start);
|
||||
std::swap(this->stl.v_indices, other.stl.v_indices);
|
||||
std::swap(this->stl.v_shared, other.stl.v_shared);
|
||||
std::swap(this->stl, other.stl);
|
||||
std::swap(this->repaired, other.repaired);
|
||||
}
|
||||
|
||||
TriangleMesh::~TriangleMesh() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue