SLA supports gizmo now uses hollowed mesh when available

Bugfix: SLA support tree is is now given the hollowed mesh, not the original
Added ImGui separators and change background alpha in hollowing gizmo dialog (to match the other gizmos)
This commit is contained in:
Lukas Matena 2019-12-20 10:17:59 +01:00
parent 57cf3d17e2
commit d1f86e0a80
3 changed files with 72 additions and 43 deletions

View file

@ -225,8 +225,7 @@ void SLAPrint::Steps::slice_model(SLAPrintObject &po)
if(po.m_config.supports_enable.getBool() || po.m_config.pad_enable.getBool())
{
po.m_supportdata.reset(
new SLAPrintObject::SupportData(po.transformed_mesh()) );
po.m_supportdata.reset(new SLAPrintObject::SupportData(mesh));
}
}