From 3c2d0b7c6e6668a148e309b2b39bd9d41acdd5d5 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Wed, 3 Mar 2021 10:04:26 +0100 Subject: [PATCH] Tiny cosmetics --- src/libslic3r/SLAPrintSteps.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/libslic3r/SLAPrintSteps.cpp b/src/libslic3r/SLAPrintSteps.cpp index 455141051b..22fee69761 100644 --- a/src/libslic3r/SLAPrintSteps.cpp +++ b/src/libslic3r/SLAPrintSteps.cpp @@ -144,7 +144,6 @@ void SLAPrint::Steps::hollow_model(SLAPrintObject &po) } } - struct FaceHash { // A hash is created for each triangle to be identifiable. The hash uses @@ -214,10 +213,7 @@ static std::vector create_exclude_mask( for (size_t fi = 0; fi < its.indices.size(); ++fi) { auto &face = its.indices[fi]; - std::string key = - FaceHash::facekey(face, its.vertices); - - if (interior_hash.find(key)) { + if (interior_hash.find(FaceHash::facekey(face, its.vertices))) { exclude_mask[fi] = true; continue; }