Added logging when bed texture/model is not found

This commit is contained in:
Lukas Matena 2021-09-03 12:13:01 +02:00
parent 79784d1a2e
commit ed7ebf15d9
2 changed files with 8 additions and 3 deletions

View file

@ -2293,7 +2293,7 @@ void PrintObject::project_and_append_custom_facets(
const indexed_triangle_set custom_facets = seam
? mv->seam_facets.get_facets_strict(*mv, type)
: mv->supported_facets.get_facets_strict(*mv, type);
if (! custom_facets.indices.empty())
if (! custom_facets.indices.empty()) {
if (seam)
project_triangles_to_slabs(this->layers(), custom_facets,
(this->trafo_centered() * mv->get_matrix()).cast<float>(),
@ -2310,6 +2310,7 @@ void PrintObject::project_and_append_custom_facets(
for (size_t i = 0; i < out.size(); ++ i)
append(out[i], std::move(projected[i]));
}
}
}
}