Revert of a3324d3e50
- Replaced with a more robust fix
This commit is contained in:
parent
66a4b5b82a
commit
1218103fd6
3 changed files with 12 additions and 10 deletions
|
@ -55,9 +55,11 @@ void GLGizmoHollow::data_changed()
|
|||
}
|
||||
|
||||
const SLAPrintObject* po = m_c->selection_info()->print_object();
|
||||
std::shared_ptr<const indexed_triangle_set> preview_mesh_ptr = po->get_mesh_to_print();
|
||||
if (po != nullptr && (!preview_mesh_ptr || preview_mesh_ptr->empty()))
|
||||
reslice_until_step(slaposAssembly);
|
||||
if (po != nullptr) {
|
||||
std::shared_ptr<const indexed_triangle_set> preview_mesh_ptr = po->get_mesh_to_print();
|
||||
if (!preview_mesh_ptr || preview_mesh_ptr->empty())
|
||||
reslice_until_step(slaposAssembly);
|
||||
}
|
||||
|
||||
update_volumes();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue