mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
SLAPrint steps moved to separate module.
* Lambdas replaced with class methods
This commit is contained in:
parent
dfa4a58dc6
commit
4e067c42f0
12 changed files with 1214 additions and 1076 deletions
|
@ -2882,11 +2882,12 @@ void Plater::priv::HollowJob::process()
|
|||
if (st < 100) update_status(int(st), s);
|
||||
};
|
||||
|
||||
TriangleMesh omesh = sla::generate_interior(*m_object_mesh, m_cfg, ctl);
|
||||
std::unique_ptr<TriangleMesh> omesh =
|
||||
sla::generate_interior(*m_object_mesh, m_cfg, ctl);
|
||||
|
||||
if (!omesh.empty()) {
|
||||
if (omesh && !omesh->empty()) {
|
||||
m_output_mesh.reset(new TriangleMesh{*m_object_mesh});
|
||||
m_output_mesh->merge(omesh);
|
||||
m_output_mesh->merge(*omesh);
|
||||
m_output_mesh->require_shared_vertices();
|
||||
|
||||
update_status(90, _(L("Indexing hollowed object")));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue