Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 924105 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/libslic3r/MeshBoolean.cpp (-2 / +2 lines)
Lines 147-158 template<class _Mesh> TriangleMesh cgal_ Link Here
147
    const auto &vertices = cgalmesh.vertices();
147
    const auto &vertices = cgalmesh.vertices();
148
    int vsize = int(vertices.size());
148
    int vsize = int(vertices.size());
149
149
150
    for (auto &vi : vertices) {
150
    for (const auto &vi : vertices) {
151
        auto &v = cgalmesh.point(vi); // Don't ask...
151
        auto &v = cgalmesh.point(vi); // Don't ask...
152
        its.vertices.emplace_back(to_vec3f(v));
152
        its.vertices.emplace_back(to_vec3f(v));
153
    }
153
    }
154
154
155
    for (auto &face : faces) {
155
    for (const auto &face : faces) {
156
        auto vtc = cgalmesh.vertices_around_face(cgalmesh.halfedge(face));
156
        auto vtc = cgalmesh.vertices_around_face(cgalmesh.halfedge(face));
157
157
158
        int i = 0;
158
        int i = 0;

Return to bug 924105