Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2016-11-15 19:22:00 +0300
committerbubnikv <bubnikv@gmail.com>2016-11-15 19:22:00 +0300
commite6d802a5ffc5a13d59d4a21b2e94679ed0aeb8fe (patch)
tree7b723521381040a34058162cb82f090477e261c4 /xs/src/libslic3r/TriangleMesh.cpp
parent7f1704b2ac561e4a7634e4a6928946d6034a5ecf (diff)
Fixed a 64bit compatiblity in admesh, fixed a typo in TriangleMesh::swap()
Diffstat (limited to 'xs/src/libslic3r/TriangleMesh.cpp')
-rw-r--r--xs/src/libslic3r/TriangleMesh.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/xs/src/libslic3r/TriangleMesh.cpp b/xs/src/libslic3r/TriangleMesh.cpp
index 7c6e7fbce..5737747a2 100644
--- a/xs/src/libslic3r/TriangleMesh.cpp
+++ b/xs/src/libslic3r/TriangleMesh.cpp
@@ -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() {