Fix incorrect mesh shown on plater after hollowing

This commit is contained in:
tamasmeszaros 2021-03-02 17:03:33 +01:00
parent 527e675294
commit d48ca7fd03

View file

@ -1120,7 +1120,7 @@ TriangleMesh SLAPrintObject::get_mesh(SLAPrintObjectStep step) const
return this->pad_mesh();
case slaposDrillHoles:
if (m_hollowing_data)
return m_hollowing_data->hollow_mesh_with_holes;
return get_mesh_to_print();
[[fallthrough]];
default:
return TriangleMesh();