mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 05:26:04 +08:00
Tiny cosmetics
This commit is contained in:
parent
33d6655f26
commit
3c2d0b7c6e
@ -144,7 +144,6 @@ void SLAPrint::Steps::hollow_model(SLAPrintObject &po)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
struct FaceHash {
|
struct FaceHash {
|
||||||
|
|
||||||
// A hash is created for each triangle to be identifiable. The hash uses
|
// A hash is created for each triangle to be identifiable. The hash uses
|
||||||
@ -214,10 +213,7 @@ static std::vector<bool> create_exclude_mask(
|
|||||||
for (size_t fi = 0; fi < its.indices.size(); ++fi) {
|
for (size_t fi = 0; fi < its.indices.size(); ++fi) {
|
||||||
auto &face = its.indices[fi];
|
auto &face = its.indices[fi];
|
||||||
|
|
||||||
std::string key =
|
if (interior_hash.find(FaceHash::facekey(face, its.vertices))) {
|
||||||
FaceHash::facekey(face, its.vertices);
|
|
||||||
|
|
||||||
if (interior_hash.find(key)) {
|
|
||||||
exclude_mask[fi] = true;
|
exclude_mask[fi] = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user