fix bed model rendering issue for all 3rd party printers

This commit is contained in:
SoftFever 2023-01-06 20:23:55 +08:00
parent 964f2163cb
commit 7440dcb955

View file

@ -613,8 +613,8 @@ void Bed3D::update_model_offset() const
{
(*model_offset_ptr)(0) -= 128.f;
(*model_offset_ptr)(1) -= 128.f;
(*model_offset_ptr)(2) = -0.41 + GROUND_Z;
}
(*model_offset_ptr)(2) = -0.41 + GROUND_Z;
// update extended bounding box
const_cast<BoundingBoxf3&>(m_extended_bounding_box) = calc_extended_bounding_box();